GNOME Bugzilla – Bug 326774
some toolbar/pathbar buttons focus on click
Last modified: 2007-07-24 15:20:42 UTC
When you start nautilus in --browser mode and click one of the pathbar buttons, they get focus; but when you do that in a gtk filechooser, those pathbar buttons don't get focus. For consistence, nautilus should do the same (gtk_button_set_focus_on_click(, FALSE)). Oh and the zoom control buttons also get focus on click, they shouldn't, either, since all other toolbar buttons don't get that either.
Created attachment 92264 [details] [review] patch
* src/nautilus-navigation-window.c: (location_button_create), (nautilus_navigation_window_init): * src/nautilus-pathbar.c: (get_slider_button), (make_directory_button): * src/nautilus-zoom-control.c: (nautilus_zoom_control_finalize), (nautilus_zoom_control_instance_init), (nautilus_zoom_control_class_init): Don't focus the path bar buttons (and the others on the same 'toolbar') on click, for consistency with toolbars, and the gtk filechooser path bar. Bug #326774.