mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-22 06:44:07 +00:00
for now reverted the last change, since it broke click-select-click menus
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org> * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted the last change, since it broke click-select-click menus for gimp.
This commit is contained in:
parent
ced74f4435
commit
0ac28d23a4
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 15 22:44:33 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
|
||||
the last change, since it broke click-select-click menus for gimp.
|
||||
|
||||
Sun Mar 15 20:13:42 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
|
||||
|
@ -350,8 +350,9 @@ gtk_menu_shell_button_release (GtkWidget *widget,
|
||||
menu_shell = GTK_MENU_SHELL (widget);
|
||||
if (menu_shell->active)
|
||||
{
|
||||
if (event->button != menu_shell->button)
|
||||
if (menu_shell->button && (event->button != menu_shell->button))
|
||||
{
|
||||
menu_shell->button = 0;
|
||||
if (menu_shell->parent_menu_shell)
|
||||
gtk_widget_event (menu_shell->parent_menu_shell, (GdkEvent*) event);
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user