Commit f280f6d0 authored by Soeren Sandmann's avatar Soeren Sandmann Committed by Søren Sandmann Pedersen

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).
parent 50b36492
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
......
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
......
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
......
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
......
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
......
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
......
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment