plug-ins/imagemap/imap_cmd_guides.c

2004-09-20  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_tools.c: disabled functionality that doesn't
	fully work yet. #136713 now becomes an enhancement request.
This commit is contained in:
Maurits Rijk
2004-09-20 21:14:09 +00:00
committed by Maurits Rijk
parent bb9c250eec
commit c975f6c994
6 changed files with 29 additions and 15 deletions

View File

@ -1,3 +1,12 @@
2004-09-20 Maurits Rijk <m.rijk@chello.nl>
* plug-ins/imagemap/imap_cmd_guides.c
* plug-ins/imagemap/imap_default_dialog.c
* plug-ins/imagemap/imap_menu.c
* plug-ins/imagemap/imap_preferences.c
* plug-ins/imagemap/imap_tools.c: disabled functionality that doesn't
fully work yet. #136713 now becomes an enhancement request.
2004-09-20 Sven Neumann <sven@gimp.org> 2004-09-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate * plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate

View File

@ -3,7 +3,7 @@
* *
* Generates clickable image maps. * Generates clickable image maps.
* *
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl * Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -159,9 +159,9 @@ GtkWidget*
default_dialog_add_table(DefaultDialog_t *dialog, gint rows, gint cols) default_dialog_add_table(DefaultDialog_t *dialog, gint rows, gint cols)
{ {
GtkWidget *table = gtk_table_new(rows, cols, FALSE); GtkWidget *table = gtk_table_new(rows, cols, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(table), 10); gtk_container_set_border_width(GTK_CONTAINER(table), 12);
gtk_table_set_row_spacings(GTK_TABLE(table), 10); gtk_table_set_row_spacings(GTK_TABLE(table), 6);
gtk_table_set_col_spacings(GTK_TABLE(table), 10); gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog->dialog)->vbox), table); gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog->dialog)->vbox), table);
gtk_widget_show(table); gtk_widget_show(table);
return table; return table;

View File

@ -3,7 +3,7 @@
* *
* Generates clickable image maps. * Generates clickable image maps.
* *
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl * Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -359,10 +359,12 @@ make_mapping_menu(GtkWidget *menu_bar)
_menu.arrow = make_radio_item(menu, NULL, _("Arrow"), menu_arrow, NULL); _menu.arrow = make_radio_item(menu, NULL, _("Arrow"), menu_arrow, NULL);
group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.arrow)); group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.arrow));
#ifdef _NOT_READY_YET_
_menu.fuzzy_select = make_radio_item(menu, group, _menu.fuzzy_select = make_radio_item(menu, group,
_("Select contiguous region"), _("Select contiguous region"),
menu_fuzzy_select, NULL); menu_fuzzy_select, NULL);
group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.fuzzy_select)); group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.fuzzy_select));
#endif
_menu.rectangle = make_radio_item(menu, group, _("Rectangle"), _menu.rectangle = make_radio_item(menu, group, _("Rectangle"),
menu_rectangle, NULL); menu_rectangle, NULL);
group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.rectangle)); group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.rectangle));

View File

@ -3,7 +3,7 @@
* *
* Generates clickable image maps. * Generates clickable image maps.
* *
* Copyright (C) 1998-2002 Maurits Rijk lpeek.mrijk@consunet.nl * Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -426,9 +426,9 @@ create_tab(GtkWidget *notebook, gchar *label, gint rows, gint cols)
table = gtk_table_new(rows, cols, FALSE); table = gtk_table_new(rows, cols, FALSE);
gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0);
gtk_container_set_border_width(GTK_CONTAINER(table), 10); gtk_container_set_border_width(GTK_CONTAINER(table), 12);
gtk_table_set_row_spacings(GTK_TABLE(table), 10); gtk_table_set_row_spacings(GTK_TABLE(table), 6);
gtk_table_set_col_spacings(GTK_TABLE(table), 10); gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_widget_show(table); gtk_widget_show(table);
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox, gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox,
@ -440,7 +440,7 @@ create_tab(GtkWidget *notebook, gchar *label, gint rows, gint cols)
static void static void
create_general_tab(PreferencesDialog_t *data, GtkWidget *notebook) create_general_tab(PreferencesDialog_t *data, GtkWidget *notebook)
{ {
GtkWidget *table = create_tab(notebook, _("_General"), 7, 2); GtkWidget *table = create_tab(notebook, _("General"), 7, 2);
GtkWidget *frame; GtkWidget *frame;
GtkWidget *hbox; GtkWidget *hbox;
@ -481,7 +481,7 @@ create_general_tab(PreferencesDialog_t *data, GtkWidget *notebook)
static void static void
create_menu_tab(PreferencesDialog_t *data, GtkWidget *notebook) create_menu_tab(PreferencesDialog_t *data, GtkWidget *notebook)
{ {
GtkWidget *table = create_tab(notebook, _("_Menu"), 2, 2); GtkWidget *table = create_tab(notebook, _("Menu"), 2, 2);
GtkWidget *label; GtkWidget *label;
label = create_label_in_table(table, 0, 0, label = create_label_in_table(table, 0, 0,
@ -513,7 +513,7 @@ create_color_field(PreferencesDialog_t *data, GtkWidget *table, gint row,
static void static void
create_colors_tab(PreferencesDialog_t *data, GtkWidget *notebook) create_colors_tab(PreferencesDialog_t *data, GtkWidget *notebook)
{ {
GtkWidget *table = create_tab(notebook, _("Co_lors"), 2, 3); GtkWidget *table = create_tab(notebook, _("Colors"), 2, 3);
create_label_in_table(table, 0, 0, _("Normal:")); create_label_in_table(table, 0, 0, _("Normal:"));
data->normal_fg = create_color_field(data, table, 0, 1, data->normal_fg = create_color_field(data, table, 0, 1,
@ -571,8 +571,9 @@ create_preferences_dialog()
create_general_tab(data, notebook); create_general_tab(data, notebook);
create_menu_tab(data, notebook); create_menu_tab(data, notebook);
create_colors_tab(data, notebook); create_colors_tab(data, notebook);
#ifdef _NOT_READY_YET_
create_contiguous_regions_tab(data, notebook); create_contiguous_regions_tab(data, notebook);
#endif
gtk_widget_show(notebook); gtk_widget_show(notebook);
return data; return data;

View File

@ -3,7 +3,7 @@
* *
* Generates clickable image maps. * Generates clickable image maps.
* *
* Copyright (C) 1998-2002 Maurits Rijk lpeek.mrijk@consunet.nl * Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -144,13 +144,15 @@ make_tools(GtkWidget *window)
NULL, _("Select"), NULL, _("Select"),
_("Select existing area"), _("Select existing area"),
arrow_clicked, NULL); arrow_clicked, NULL);
#ifdef _NOT_READY_YET_
_tools.fuzzy_select = _tools.fuzzy_select =
make_toolbar_radio_icon(toolbar, GIMP_STOCK_TOOL_FUZZY_SELECT, make_toolbar_radio_icon(toolbar, GIMP_STOCK_TOOL_FUZZY_SELECT,
_tools.arrow, _("Fuzzy Select"), _tools.arrow, _("Fuzzy Select"),
_("Select contiguous regions"), _("Select contiguous regions"),
fuzzy_select_clicked, NULL); fuzzy_select_clicked, NULL);
#endif
_tools.rectangle = make_toolbar_radio_icon(toolbar, IMAP_STOCK_RECTANGLE, _tools.rectangle = make_toolbar_radio_icon(toolbar, IMAP_STOCK_RECTANGLE,
_tools.fuzzy_select, _tools.arrow,
_("Rectangle"), _("Rectangle"),
_("Define Rectangle area"), _("Define Rectangle area"),
rectangle_clicked, NULL); rectangle_clicked, NULL);