[nautilus] nautilus-properties-window: Expand tabs



commit c4626bea9944e13523207f6d57e97e43aac915ca
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Fri Dec 19 11:13:26 2014 +0100

    nautilus-properties-window: Expand tabs
    
    It's more visually balanced

 src/nautilus-properties-window.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 7781aaf..c8a1305 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);
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]