mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
change offset of cursor corner of navigation region from (-2, 2) to (-2,
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change offset of cursor corner of navigation region from (-2, 2) to (-2, 0).
This commit is contained in:
parent
50b364929e
commit
f280f6d080
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
|
||||
offset of cursor corner of navigation region from (-2, 2) to
|
||||
(-2, 0).
|
||||
|
||||
2002-03-03 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
|
||||
|
@ -1872,7 +1872,6 @@ gtk_menu_motion_notify (GtkWidget *widget,
|
||||
|
||||
gboolean need_enter;
|
||||
|
||||
|
||||
if (GTK_IS_MENU (widget))
|
||||
gtk_menu_handle_scrolling (GTK_MENU (widget), TRUE);
|
||||
|
||||
@ -2254,7 +2253,7 @@ gtk_menu_set_submenu_navigation_region (GtkMenu *menu,
|
||||
/* Exiting the top or bottom? */
|
||||
if (event->y < 0)
|
||||
{ /* top */
|
||||
point[0].y = event->y_root + SUBMENU_NAV_REGION_PADDING;
|
||||
point[0].y = event->y_root + 1;
|
||||
point[1].y = submenu_top;
|
||||
|
||||
if (point[0].y <= point[1].y)
|
||||
@ -2262,7 +2261,7 @@ gtk_menu_set_submenu_navigation_region (GtkMenu *menu,
|
||||
}
|
||||
else
|
||||
{ /* bottom */
|
||||
point[0].y = event->y_root - SUBMENU_NAV_REGION_PADDING;
|
||||
point[0].y = event->y_root;
|
||||
point[1].y = submenu_bottom;
|
||||
|
||||
if (point[0].y >= point[1].y)
|
||||
|
Loading…
Reference in New Issue
Block a user