mirror of https://github.com/GNOME/gimp.git
small cleanup.
2008-05-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup. svn path=/trunk/; revision=25634
This commit is contained in:
parent
7d25d6e6bc
commit
a0e6800c0d
|
@ -1,3 +1,7 @@
|
|||
2008-05-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.
|
||||
|
||||
2008-05-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/actions/windows-commands.[ch]
|
||||
|
|
|
@ -366,7 +366,7 @@ gimp_action_set_proxy (GimpAction *action,
|
|||
|
||||
image = gtk_image_menu_item_get_image (GTK_IMAGE_MENU_ITEM (proxy));
|
||||
|
||||
if (image && (GIMP_IS_VIEW (image) || GIMP_IS_COLOR_AREA (image)))
|
||||
if (GIMP_IS_VIEW (image) || GIMP_IS_COLOR_AREA (image))
|
||||
{
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (proxy), NULL);
|
||||
g_object_notify (G_OBJECT (action), "stock-id");
|
||||
|
|
Loading…
Reference in New Issue