[balsa/wip/gtk4: 25/351] Fix the toolbar prefs dialog



commit 866360945ba7155b6d21ab2d12df07aa297bd484
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Oct 6 22:12:18 2017 -0400

    Fix the toolbar prefs dialog

 src/toolbar-prefs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/toolbar-prefs.c b/src/toolbar-prefs.c
index c4db7cf..99a2f0a 100644
--- a/src/toolbar-prefs.c
+++ b/src/toolbar-prefs.c
@@ -421,6 +421,7 @@ create_toolbar_page(BalsaToolbarModel * model, GActionMap * map)
 
     /* Preview display */
     toolbar_frame=gtk_frame_new(_("Preview"));
+    g_object_set((GObject *) toolbar_frame, "margin", 5, NULL);
     gtk_box_pack_start(GTK_BOX(outer_box), toolbar_frame);
 
     toolbar_ctlbox=gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);
@@ -438,7 +439,6 @@ create_toolbar_page(BalsaToolbarModel * model, GActionMap * map)
                                    GTK_POLICY_NEVER);
 
     g_object_set(G_OBJECT(toolbar_scroll), "margin", 5, NULL);
-    gtk_widget_set_vexpand(toolbar_scroll, TRUE);
     gtk_box_pack_start(GTK_BOX(toolbar_ctlbox), toolbar_scroll);
 
     gtk_container_add(GTK_CONTAINER(toolbar_scroll), page->toolbar);


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