add the GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set

2003-07-28  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c (image_menu_entries): add the
	GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
	it insensitive if there is no image.
This commit is contained in:
Michael Natterer 2003-07-28 12:06:41 +00:00 committed by Michael Natterer
parent d2bd22947b
commit 5802bbd486
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2003-07-28 Michael Natterer <mitch@gimp.org>
* app/gui/image-menu.c (image_menu_entries): add the
GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
it insensitive if there is no image.
2003-07-28 Michael Natterer <mitch@gimp.org>
* libgimp/gimpcompat.h: removed the name from the

View file

@ -570,7 +570,8 @@ GimpItemFactoryEntry image_menu_entries[] =
MENU_SEPARATOR ("/Image/---"),
{ { N_("/Image/Configure G_rid..."), NULL,
image_configure_grid_cmd_callback, 0, NULL },
image_configure_grid_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_GRID },
NULL,
"image/dialogs/configure_grid.html", NULL },
@ -1486,6 +1487,7 @@ image_menu_update (GtkItemFactory *item_factory,
SET_SENSITIVE ("/Image/Duplicate", gdisp);
SET_SENSITIVE ("/Image/Merge Visible Layers...", gdisp && !fs && !aux && lp);
SET_SENSITIVE ("/Image/Flatten Image", gdisp && !fs && !aux && lp);
SET_SENSITIVE ("/Image/Configure Grid...", gdisp);
/* Layer */

View file

@ -570,7 +570,8 @@ GimpItemFactoryEntry image_menu_entries[] =
MENU_SEPARATOR ("/Image/---"),
{ { N_("/Image/Configure G_rid..."), NULL,
image_configure_grid_cmd_callback, 0, NULL },
image_configure_grid_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_GRID },
NULL,
"image/dialogs/configure_grid.html", NULL },
@ -1486,6 +1487,7 @@ image_menu_update (GtkItemFactory *item_factory,
SET_SENSITIVE ("/Image/Duplicate", gdisp);
SET_SENSITIVE ("/Image/Merge Visible Layers...", gdisp && !fs && !aux && lp);
SET_SENSITIVE ("/Image/Flatten Image", gdisp && !fs && !aux && lp);
SET_SENSITIVE ("/Image/Configure Grid...", gdisp);
/* Layer */