From 51aaf0e1ce3cc8bdb5b29185d43e87ccf074c18a Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 5 Apr 2003 13:35:53 +0000 Subject: [PATCH] call gimp_cotainer_menu_select_item() before notifying the context of the 2003-04-05 Michael Natterer * app/widgets/gimpcontainermenu.c (gimp_container_menu_item_selected): call gimp_cotainer_menu_select_item() before notifying the context of the change. --- ChangeLog | 7 +++++++ app/widgets/gimpcontainermenu.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b47195a365..660abe6576 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-04-05 Michael Natterer + + * 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 * app/core/gimp-templates.c (gimp_templates_load): diff --git a/app/widgets/gimpcontainermenu.c b/app/widgets/gimpcontainermenu.c index 538b066e1c..d434a3b2ce 100644 --- a/app/widgets/gimpcontainermenu.c +++ b/app/widgets/gimpcontainermenu.c @@ -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