mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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)
This commit is contained in:
parent
b2890f5394
commit
7ffcc59b5a
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user