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:
Soeren Sandmann 2002-03-03 19:50:50 +00:00 committed by Søren Sandmann Pedersen
parent 50b364929e
commit f280f6d080
8 changed files with 44 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)