call gimp_cotainer_menu_select_item() before notifying the context of the
2003-04-05 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcontainermenu.c (gimp_container_menu_item_selected): call gimp_cotainer_menu_select_item() before notifying the context of the change.
This commit is contained in:

committed by
Michael Natterer

parent
22bf960818
commit
51aaf0e1ce
@ -1,3 +1,10 @@
|
||||
2003-04-05 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpcontainermenu.c
|
||||
(gimp_container_menu_item_selected): call
|
||||
gimp_cotainer_menu_select_item() before notifying the context of
|
||||
the change.
|
||||
|
||||
2003-04-05 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimp-templates.c (gimp_templates_load):
|
||||
|
@ -428,6 +428,8 @@ gimp_container_menu_item_selected (GimpContainerMenu *menu,
|
||||
g_return_if_fail (GIMP_IS_CONTAINER_MENU (menu));
|
||||
g_return_if_fail (GIMP_IS_VIEWABLE (viewable));
|
||||
|
||||
gimp_container_menu_select_item (menu, viewable);
|
||||
|
||||
if (menu->container && menu->context)
|
||||
{
|
||||
GimpContext *context;
|
||||
@ -451,8 +453,6 @@ gimp_container_menu_item_selected (GimpContainerMenu *menu,
|
||||
|
||||
g_object_unref (context);
|
||||
}
|
||||
|
||||
gimp_container_menu_select_item (menu, viewable);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user