After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326774 - some toolbar/pathbar buttons focus on click
some toolbar/pathbar buttons focus on click
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-12 23:42 UTC by Christian Persch
Modified: 2007-07-24 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (4.20 KB, patch)
2007-07-24 10:57 UTC, Christian Persch
none Details | Review

Description Christian Persch 2006-01-12 23:42:57 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.
Comment 1 Christian Persch 2007-07-24 10:57:12 UTC
Created attachment 92264 [details] [review]
patch
Comment 2 Christian Persch 2007-07-24 15:20:42 UTC
        * 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.