mirror of https://github.com/GNOME/gimp.git
do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus
2006-06-08 Sven Neumann <sven@gimp.org> * plug-ins/common/animationplay.c (menu_popup): do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't like to be attached multiple times.
This commit is contained in:
parent
11cdcf7285
commit
d42a30e0ec
|
@ -1,3 +1,9 @@
|
|||
2006-06-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/animationplay.c (menu_popup): do not use
|
||||
gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
|
||||
like to be attached multiple times.
|
||||
|
||||
2006-06-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/core/gimpimage-arrange.[ch]: added, utility function for
|
||||
|
|
|
@ -236,7 +236,7 @@ menu_popup (GtkWidget *widget,
|
|||
GtkWidget *menu = gtk_ui_manager_get_widget (ui_manager,
|
||||
"/anim-play-popup");
|
||||
|
||||
gtk_menu_attach_to_widget (GTK_MENU (menu), widget, NULL);
|
||||
gtk_menu_set_screen (GTK_MENU (menu), gtk_widget_get_screen (widget));
|
||||
gtk_menu_popup (GTK_MENU (menu),
|
||||
NULL, NULL, NULL, NULL,
|
||||
event->button, event->time);
|
||||
|
|
Loading…
Reference in New Issue