diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2014-09-03 16:04:01 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2014-09-03 16:04:01 -0700 |
commit | 98e007d1ec7e9c192304231ac7aa1bfdc06eec23 (patch) | |
tree | a2e303720070b288b5ebc47596d2a19ea33681a0 | |
parent | 1a05544bf0eb59928d911bf66a7bbf1d1bf7cc0d (diff) | |
download | nautilus-98e007d1ec7e9c192304231ac7aa1bfdc06eec23.tar.gz |
window: remove another size group
This is not needed anymore either...
-rw-r--r-- | src/nautilus-window.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c index 2eb4d6d4f..124fc57b7 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -1274,14 +1274,10 @@ notebook_popup_menu_cb (GtkWidget *widget, static GtkWidget * create_toolbar (NautilusWindow *window) { - GtkSizeGroup *header_size_group; GtkWidget *toolbar; GtkWidget *path_bar; GtkWidget *location_entry; - header_size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL); - gtk_size_group_set_ignore_hidden (header_size_group, FALSE); - /* build the toolbar */ toolbar = nautilus_toolbar_new (NAUTILUS_WINDOW (window)); @@ -1291,7 +1287,6 @@ create_toolbar (NautilusWindow *window) /* connect to the pathbar signals */ path_bar = nautilus_toolbar_get_path_bar (NAUTILUS_TOOLBAR (toolbar)); - gtk_size_group_add_widget (header_size_group, path_bar); g_signal_connect_object (path_bar, "path-clicked", G_CALLBACK (path_bar_location_changed_callback), window, 0); @@ -1300,7 +1295,6 @@ create_toolbar (NautilusWindow *window) /* connect to the location entry signals */ location_entry = nautilus_toolbar_get_location_entry (NAUTILUS_TOOLBAR (toolbar)); - gtk_size_group_add_widget (header_size_group, location_entry); nautilus_clipboard_set_up_editable (GTK_EDITABLE (location_entry), nautilus_window_get_ui_manager (NAUTILUS_WINDOW (window)), @@ -1311,8 +1305,6 @@ create_toolbar (NautilusWindow *window) g_signal_connect_object (location_entry, "cancel", G_CALLBACK (location_entry_cancel_callback), window, 0); - g_object_unref (header_size_group); - return toolbar; } |