[gedit] Bug 704107 - Fix tab groups



commit aeb94e537b249bdbe912f00b0606e7826903eaa1
Author: Garrett Regier <garrett yorba org>
Date:   Fri Jul 12 11:23:58 2013 -0700

    Bug 704107 - Fix tab groups

 gedit/gedit-multi-notebook.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-multi-notebook.c b/gedit/gedit-multi-notebook.c
index 27d2c46..1565535 100644
--- a/gedit/gedit-multi-notebook.c
+++ b/gedit/gedit-multi-notebook.c
@@ -437,9 +437,12 @@ add_notebook (GeditMultiNotebook *mnb,
              GtkWidget          *notebook,
              gboolean            main_container)
 {
+       gtk_widget_set_hexpand (notebook, TRUE);
+       gtk_widget_set_vexpand (notebook, TRUE);
+
        if (main_container)
        {
-               gtk_box_pack_start (GTK_BOX (mnb), notebook, TRUE, TRUE, 0);
+               gtk_container_add (GTK_CONTAINER (mnb), notebook);
 
                mnb->priv->notebooks = g_list_append (mnb->priv->notebooks,
                                                      notebook);


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