mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
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:
parent
d2bd22947b
commit
5802bbd486
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue