Commit c975f6c9 authored by Maurits Rijk's avatar Maurits Rijk Committed by Maurits Rijk

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.
parent bb9c250e
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>
* plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate
......
......@@ -3,7 +3,7 @@
*
* 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
* it under the terms of the GNU General Public License as published by
......
......@@ -159,9 +159,9 @@ GtkWidget*
default_dialog_add_table(DefaultDialog_t *dialog, gint rows, gint cols)
{
GtkWidget *table = gtk_table_new(rows, cols, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(table), 10);
gtk_table_set_row_spacings(GTK_TABLE(table), 10);
gtk_table_set_col_spacings(GTK_TABLE(table), 10);
gtk_container_set_border_width(GTK_CONTAINER(table), 12);
gtk_table_set_row_spacings(GTK_TABLE(table), 6);
gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog->dialog)->vbox), table);
gtk_widget_show(table);
return table;
......
......@@ -3,7 +3,7 @@
*
* 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
* 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);
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,
_("Select contiguous region"),
menu_fuzzy_select, NULL);
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, NULL);
group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(_menu.rectangle));
......
......@@ -3,7 +3,7 @@
*
* 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
* 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);
gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0);
gtk_container_set_border_width(GTK_CONTAINER(table), 10);
gtk_table_set_row_spacings(GTK_TABLE(table), 10);
gtk_table_set_col_spacings(GTK_TABLE(table), 10);
gtk_container_set_border_width(GTK_CONTAINER(table), 12);
gtk_table_set_row_spacings(GTK_TABLE(table), 6);
gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_widget_show(table);
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox,
......@@ -440,7 +440,7 @@ create_tab(GtkWidget *notebook, gchar *label, gint rows, gint cols)
static void
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 *hbox;
......@@ -481,7 +481,7 @@ create_general_tab(PreferencesDialog_t *data, GtkWidget *notebook)
static void
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;
label = create_label_in_table(table, 0, 0,
......@@ -513,7 +513,7 @@ create_color_field(PreferencesDialog_t *data, GtkWidget *table, gint row,
static void
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:"));
data->normal_fg = create_color_field(data, table, 0, 1,
......@@ -571,8 +571,9 @@ create_preferences_dialog()
create_general_tab(data, notebook);
create_menu_tab(data, notebook);
create_colors_tab(data, notebook);
#ifdef _NOT_READY_YET_
create_contiguous_regions_tab(data, notebook);
#endif
gtk_widget_show(notebook);
return data;
......
......@@ -3,7 +3,7 @@
*
* 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
* it under the terms of the GNU General Public License as published by
......@@ -144,13 +144,15 @@ make_tools(GtkWidget *window)
NULL, _("Select"),
_("Select existing area"),
arrow_clicked, NULL);
#ifdef _NOT_READY_YET_
_tools.fuzzy_select =
make_toolbar_radio_icon(toolbar, GIMP_STOCK_TOOL_FUZZY_SELECT,
_tools.arrow, _("Fuzzy Select"),
_("Select contiguous regions"),
fuzzy_select_clicked, NULL);
#endif
_tools.rectangle = make_toolbar_radio_icon(toolbar, IMAP_STOCK_RECTANGLE,
_tools.fuzzy_select,
_tools.arrow,
_("Rectangle"),
_("Define Rectangle area"),
rectangle_clicked, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment