mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Don't return after calling gtk_menu_handle_scrolling() when
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after calling gtk_menu_handle_scrolling() when !menu_shell->ignore_enter.
This commit is contained in:
parent
ee6029e7f4
commit
a9cd971729
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Nov 10 22:55:39 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after
|
||||
calling gtk_menu_handle_scrolling() when
|
||||
!menu_shell->ignore_enter.
|
||||
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
|
@ -2254,15 +2254,12 @@ gtk_menu_enter_notify (GtkWidget *widget,
|
||||
{
|
||||
GtkMenuShell *menu_shell = GTK_MENU_SHELL (widget);
|
||||
|
||||
if (!menu_shell->ignore_enter)
|
||||
{
|
||||
gtk_menu_handle_scrolling (GTK_MENU (widget), TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
if (menu_shell->ignore_enter)
|
||||
return FALSE;
|
||||
|
||||
gtk_menu_handle_scrolling (GTK_MENU (widget), TRUE);
|
||||
}
|
||||
|
||||
|
||||
/* If this is a faked enter (see gtk_menu_motion_notify), 'widget'
|
||||
* will not correspond to the event widget's parent. Check to see
|
||||
* if we are in the parent's navigation region.
|
||||
|
Loading…
Reference in New Issue
Block a user