summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <carlos.soriano89@gmail.com>2014-12-19 11:13:26 +0100
committerCarlos Soriano <carlos.soriano89@gmail.com>2014-12-19 11:13:26 +0100
commitc4626bea9944e13523207f6d57e97e43aac915ca (patch)
treeb1467b611b3a6525ccd3d9ef5841dc00854934be
parent6f5e1ea4b41fa8bb52736879059d17d41ac586a6 (diff)
downloadnautilus-c4626bea9944e13523207f6d57e97e43aac915ca.tar.gz
nautilus-properties-window: Expand tabs
It's more visually balanced
-rw-r--r--src/nautilus-properties-window.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 7781aaf2c..c8a130550 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -2307,6 +2307,10 @@ create_page_with_hbox (GtkNotebook *notebook,
gtk_container_set_border_width (GTK_CONTAINER (hbox), 12);
gtk_box_set_spacing (GTK_BOX (hbox), 12);
gtk_notebook_append_page (notebook, hbox, gtk_label_new (title));
+ gtk_container_child_set (GTK_CONTAINER (notebook),
+ hbox,
+ "tab-expand", TRUE,
+ NULL);
g_object_set_data_full (G_OBJECT (hbox), "help-uri", g_strdup (help_uri), g_free);
return hbox;
@@ -2326,6 +2330,10 @@ create_page_with_vbox (GtkNotebook *notebook,
gtk_widget_show (vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_notebook_append_page (notebook, vbox, gtk_label_new (title));
+ gtk_container_child_set (GTK_CONTAINER (notebook),
+ vbox,
+ "tab-expand", TRUE,
+ NULL);
g_object_set_data_full (G_OBJECT (vbox), "help-uri", g_strdup (help_uri), g_free);
return vbox;
@@ -4335,6 +4343,10 @@ append_extension_pages (NautilusPropertiesWindow *window)
gtk_notebook_append_page (window->details->notebook,
page_widget, label);
+ gtk_container_child_set (GTK_CONTAINER (window->details->notebook),
+ page_widget,
+ "tab-expand", TRUE,
+ NULL);
g_object_set_data (G_OBJECT (page_widget),
"is-extension-page",
@@ -4541,6 +4553,10 @@ create_open_with_page (NautilusPropertiesWindow *window)
g_object_set_data_full (G_OBJECT (vbox), "help-uri", g_strdup ("help:gnome-help/files-open"), g_free);
gtk_notebook_append_page (window->details->notebook,
vbox, gtk_label_new (_("Open With")));
+ gtk_container_child_set (GTK_CONTAINER (window->details->notebook),
+ vbox,
+ "tab-expand", TRUE,
+ NULL);
}