[gedit] Expand tabs



commit 200f053b0c54d08dfbd3515a8c3a23185aa3436c
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Oct 4 12:57:09 2013 -0400

    Expand tabs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709442

 gedit/gedit-notebook.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-notebook.c b/gedit/gedit-notebook.c
index 041babe..2c09041 100644
--- a/gedit/gedit-notebook.c
+++ b/gedit/gedit-notebook.c
@@ -615,6 +615,10 @@ gedit_notebook_add_tab (GeditNotebook *nb,
        gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (nb),
                                         GTK_WIDGET (tab),
                                         TRUE);
+       gtk_container_child_set (GTK_CONTAINER (nb),
+                                GTK_WIDGET (tab),
+                                "tab-expand", TRUE,
+                                NULL);
 
        /* The signal handler may have reordered the tabs */
        position = gtk_notebook_page_num (GTK_NOTEBOOK (nb),


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