forked from AuroraMiddleware/gtk
combobox: Set GDK_SCROLL_MASK on the eventbox in appears-as-list mode
This is so the scroll wheel works in both modes, and there's no behavioral change depending on a style property. https://bugzilla.gnome.org/show_bug.cgi?id=702663
This commit is contained in:
parent
03ad459c5b
commit
da86918c32
@ -3483,6 +3483,7 @@ gtk_combo_box_list_setup (GtkComboBox *combo_box)
|
||||
gtk_cell_view_set_background_rgba (GTK_CELL_VIEW (priv->cell_view), &color);
|
||||
|
||||
priv->box = gtk_event_box_new ();
|
||||
gtk_widget_add_events (priv->box, GDK_SCROLL_MASK);
|
||||
gtk_event_box_set_visible_window (GTK_EVENT_BOX (priv->box),
|
||||
FALSE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user