[gtk+/parasite2: 11/38] parasite: Allow panes to shrink



commit 3ccd74567a2a400ca04027c5b39a08f0aed1bea8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 4 11:10:23 2014 -0400

    parasite: Allow panes to shrink
    
    The notebook is too wide.

 modules/other/parasite/window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/other/parasite/window.c b/modules/other/parasite/window.c
index 8edcc4b..9bf3f34 100644
--- a/modules/other/parasite/window.c
+++ b/modules/other/parasite/window.c
@@ -273,7 +273,7 @@ gtkparasite_window_create()
     gtk_container_add (GTK_CONTAINER (box), hpaned);
 
     vpaned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
-    gtk_paned_pack1 (GTK_PANED (hpaned), vpaned, TRUE, FALSE);
+    gtk_paned_pack1 (GTK_PANED (hpaned), vpaned, TRUE, TRUE);
     gtk_paned_pack1 (GTK_PANED (vpaned), create_widget_list_pane (window), TRUE, FALSE);
 
     nb = g_object_new (GTK_TYPE_NOTEBOOK,
@@ -303,7 +303,7 @@ gtkparasite_window_create()
                               window->widget_css_editor,
                               gtk_label_new ("Custom CSS"));
 
-    gtk_paned_pack2 (GTK_PANED (hpaned), nb, FALSE, FALSE);
+    gtk_paned_pack2 (GTK_PANED (hpaned), nb, TRUE, TRUE);
 
     if (parasite_python_is_enabled())
     {


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