set the active display before showing the menu (fixes bug #109472).

2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_menu_popup): set the active display
	before showing the menu (fixes bug #109472).
This commit is contained in:
Michael Natterer 2003-03-30 13:41:03 +00:00 committed by Michael Natterer
parent c736836f9c
commit 5eccc36081
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-03-30 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_origin_menu_popup): set the active display
before showing the menu (fixes bug #109472).
2003-03-30 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-guides.c

View file

@ -1614,6 +1614,9 @@ gimp_display_shell_origin_menu_popup (GimpDisplayShell *shell,
GtkItemFactory *factory;
gint x, y;
gimp_context_set_display (gimp_get_user_context (shell->gdisp->gimage->gimp),
shell->gdisp);
factory = GTK_ITEM_FACTORY (shell->popup_factory);
gimp_display_shell_origin_menu_position (GTK_MENU (factory->widget),