GNOME Bugzilla – Bug 417389
Scrollwheel on path bar
Last modified: 2008-03-03 21:19:26 UTC
Using the scrollwheel on the path bar in the file chooser dialog should make it "click" other buttons.
Created attachment 86211 [details] [review] patch of the night I don't think it should activate the buttons, Instead I've made a patch to just scroll, like when you click the arrows, the input only GdkWindow is in case you scroll in an area not covered by any button.
Created attachment 86212 [details] [review] eek, now with a truly input-only window should go to sleep :)
Created attachment 86215 [details] [review] Last try for tonight New patch, doesn't try to resize the GdkWindow if the widget is unrealized, adds some path button edge checking to gtk_path_bar_scroll_[down|up] and removes the first parameter in those 2 functions, it was unused.
Any chance to get this in before 2.14?
Very clever to put the input-only window under the buttons. Thanks, Garnacho, I just committed this to trunk and gtk-2-12 :) 2008-03-03 Carlos Garnacho <carlos@imendio.com> Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the scrollwheel work in GtkPathBar. * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window. * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create an input-only window, event_window, which we'll use to capture scroll events. (gtk_path_bar_map): Show the event_window under the rest of the windows, so it will be a catch-all for unhandled events.