[glade] * plugins/gtk+/glade-gtk.c: Make h/vexpand properties 'needs-sync', fixes GtkDialog's showing up
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] * plugins/gtk+/glade-gtk.c: Make h/vexpand properties 'needs-sync', fixes GtkDialog's showing up
- Date: Tue, 5 Apr 2011 05:20:40 +0000 (UTC)
commit 70886f7a3c2618c982a0d2f22c5d4ca422ca3dc1
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Apr 5 00:37:24 2011 +0900
* plugins/gtk+/glade-gtk.c: Make h/vexpand properties 'needs-sync', fixes GtkDialog's
showing up with expanding action area (due to placeholders needing to expand).
ChangeLog | 3 +++
plugins/gtk+/gtk+.xml.in | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e153e22..3282c4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
- Use glade_widget_get_internal_child() instead of glade_widget_get_internal_func().
- Revert my long ago fix to never set packing properties onto GladeWidgets
+ * plugins/gtk+/glade-gtk.c: Make h/vexpand properties 'needs-sync', fixes GtkDialog's
+ showing up with expanding action area (due to placeholders needing to expand).
+
2011-04-03 Cosimo Cecchi <cosimoc gnome org>
* doc/Makefile.am: don't use gtk+-2.0 for scanning the docs
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 77e84d3..e9e8e5d 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -61,8 +61,8 @@
<property id="height-request" common="True" optional="True" optional-default="False" default="0"/>
<property id="no-show-all" weight="4.6" ignore="True"/>
<property id="expand" disabled="True" since="3.0"/>
- <property id="hexpand" common="True" since="3.0"/>
- <property id="vexpand" common="True" since="3.0"/>
+ <property id="hexpand" common="True" since="3.0" needs-sync="True"/>
+ <property id="vexpand" common="True" since="3.0" needs-sync="True"/>
<property id="hexpand-set" disabled="True" since="3.0"/>
<property id="vexpand-set" disabled="True" since="3.0"/>
<property id="margin" disabled="True" since="3.0"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]