Commit 7ffcc59b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Implement scroll wheel scrolling for menus. (#88532)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
	for menus. (#88532)
parent b2890f53
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)
* gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only
the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)
* gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only
the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)
* gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only
the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)
* gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only
the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
......
......@@ -1714,7 +1714,7 @@ gtk_menu_set_tearoff_hints (GtkMenu *menu,
geometry_hints.max_width = width;
geometry_hints.min_height = 0;
geometry_hints.max_height = GTK_WIDGET (menu)->requisition.height + 10;
geometry_hints.max_height = GTK_WIDGET (menu)->requisition.height;
gtk_window_set_geometry_hints (GTK_WINDOW (menu->tearoff_window),
NULL,
......@@ -2840,7 +2840,7 @@ gtk_menu_scroll_by (GtkMenu *menu,
gtk_menu_scroll_to (menu, offset);
}
Static gboolean
static gboolean
gtk_menu_scroll_timeout (gpointer data)
{
GtkMenu *menu;
......
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