[glade] * gladeui/glade-placeholder.c: Make placeholders expand by default.



commit 00e676f1d3a0a8a3c1e3100d72a7b527c3c1bebd
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu Feb 24 15:55:36 2011 +0900

    	* gladeui/glade-placeholder.c: Make placeholders expand by default.

 ChangeLog                   |    2 ++
 gladeui/glade-placeholder.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 58c97ec..5d19f2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* gladeui/glade-editor.c: Optimize window resizing by hiding inner notebook pages
 	  when those pages are not shown
 
+	* gladeui/glade-placeholder.c: Make placeholders expand by default.
+
 2011-02-17  Tristan Van Berkom <tristanvb openismus com>
 
 	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-gtk-table.c, plugins/gtk+/Makefile.am:
diff --git a/gladeui/glade-placeholder.c b/gladeui/glade-placeholder.c
index 02f1966..8a1d2a4 100644
--- a/gladeui/glade-placeholder.c
+++ b/gladeui/glade-placeholder.c
@@ -188,6 +188,8 @@ glade_placeholder_init (GladePlaceholder * placeholder)
   g_signal_connect (placeholder, "notify::parent",
                     G_CALLBACK (glade_placeholder_notify_parent), NULL);
 
+  gtk_widget_set_hexpand (GTK_WIDGET (placeholder), TRUE);
+  gtk_widget_set_vexpand (GTK_WIDGET (placeholder), TRUE);
   gtk_widget_show (GTK_WIDGET (placeholder));
 }
 



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