summaryrefslogtreecommitdiff
path: root/src/nautilus-window-menus.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-05-25 12:33:10 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2012-05-25 15:35:52 -0400
commit0a80b533dc81e5175485fe6a2a13c6648c3a07f0 (patch)
tree654421a55390d6cd22c144c58946b500a1344c33 /src/nautilus-window-menus.c
parent9538d1a640fda650e4866d2cdcc69b9e1cfa3a35 (diff)
downloadnautilus-0a80b533dc81e5175485fe6a2a13c6648c3a07f0.tar.gz
Remove show/hide main toolbar option
This is really an intrinsic part of the design now. https://bugzilla.gnome.org/show_bug.cgi?id=676839
Diffstat (limited to 'src/nautilus-window-menus.c')
-rw-r--r--src/nautilus-window-menus.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 76992cfc9..8546f734a 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -935,11 +935,6 @@ static const GtkToggleActionEntry main_toggle_entries[] = {
/* tooltip */ N_("Toggle the display of hidden files in the current window"),
G_CALLBACK (action_show_hidden_files_callback),
TRUE },
- /* name, stock id */ { "Show Hide Toolbar", NULL,
- /* label, accelerator */ N_("_Main Toolbar"), NULL,
- /* tooltip */ N_("Change the visibility of this window's main toolbar"),
- NULL,
- /* is_active */ TRUE },
/* name, stock id */ { "Show Hide Sidebar", NULL,
/* label, accelerator */ N_("_Show Sidebar"), "F9",
/* tooltip */ N_("Change the visibility of this window's side pane"),
@@ -1051,15 +1046,6 @@ window_menus_set_bindings (NautilusWindow *window)
action_group = nautilus_window_get_main_action_group (window);
action = gtk_action_group_get_action (action_group,
- NAUTILUS_ACTION_SHOW_HIDE_TOOLBAR);
-
- g_settings_bind (nautilus_window_state,
- NAUTILUS_WINDOW_STATE_START_WITH_TOOLBAR,
- action,
- "active",
- G_SETTINGS_BIND_DEFAULT);
-
- action = gtk_action_group_get_action (action_group,
NAUTILUS_ACTION_SHOW_HIDE_STATUSBAR);
g_settings_bind (nautilus_window_state,