diff options
author | Christian Persch <chpe@gnome.org> | 2007-07-24 15:19:29 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-07-24 15:19:29 +0000 |
commit | 32ec3056f6975cc4aa577ea53f6f5194fd1e399b (patch) | |
tree | 8798beb96e59597bbb51b8998abf9b4932e32251 /src/nautilus-navigation-window.c | |
parent | a24d945a95920e3cf5c14afa0169397762d224e4 (diff) | |
download | nautilus-32ec3056f6975cc4aa577ea53f6f5194fd1e399b.tar.gz |
Don't focus the path bar buttons (and the others on the same 'toolbar') on
2007-07-24 Christian Persch <chpe@gnome.org>
* 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.
svn path=/trunk/; revision=13024
Diffstat (limited to 'src/nautilus-navigation-window.c')
-rw-r--r-- | src/nautilus-navigation-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c index aa8aea550..ffcc0ec11 100644 --- a/src/nautilus-navigation-window.c +++ b/src/nautilus-navigation-window.c @@ -179,6 +179,7 @@ location_button_create (NautilusNavigationWindow *window) button = g_object_new (GTK_TYPE_TOGGLE_BUTTON, "image", image, + "focus-on-click", FALSE, "active", location_button_should_be_active (window), NULL); @@ -315,6 +316,7 @@ nautilus_navigation_window_init (NautilusNavigationWindow *window) item, -1); window->view_as_combo_box = gtk_combo_box_new_text (); + gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (window->view_as_combo_box), FALSE); gtk_box_pack_end (GTK_BOX (view_as_menu_vbox), window->view_as_combo_box, TRUE, FALSE, 0); gtk_widget_show (window->view_as_combo_box); g_signal_connect_object (window->view_as_combo_box, "changed", |