[glade] gtk+: Add homogeneous property to GtkStackSwitcher
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] gtk+: Add homogeneous property to GtkStackSwitcher
- Date: Fri, 13 Sep 2019 13:32:19 +0000 (UTC)
commit 89acf1b6cad5a438e785dfe03f5437cd4a7136e7
Author: Corentin Noël <corentin elementary io>
Date: Fri Sep 13 13:32:10 2019 +0000
gtk+: Add homogeneous property to GtkStackSwitcher
plugins/gtk+/glade-stack-switcher-editor.ui | 29 +++++++++++++++++++++++++++++
plugins/gtk+/gtk+.xml | 2 +-
2 files changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/plugins/gtk+/glade-stack-switcher-editor.ui b/plugins/gtk+/glade-stack-switcher-editor.ui
index 274119c2..bdd889f1 100644
--- a/plugins/gtk+/glade-stack-switcher-editor.ui
+++ b/plugins/gtk+/glade-stack-switcher-editor.ui
@@ -144,6 +144,33 @@ Author: Matthias Clasen <mclasen redhat com>
<property name="width">4</property>
</packing>
</child>
+ <child>
+ <object class="GladePropertyLabel" id="homogeneous_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">homogeneous</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">5</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyShell" id="homogeneous_editor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">homogeneous</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">5</property>
+ <property name="width">4</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -159,6 +186,8 @@ Author: Matthias Clasen <mclasen redhat com>
<editor id="orientation_editor"/>
<editor id="icon_size_label"/>
<editor id="icon_size_editor"/>
+ <editor id="homogeneous_label"/>
+ <editor id="homogeneous_editor"/>
</child-editors>
</template>
</interface>
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index 4b3f2ad0..b4760273 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -2655,9 +2655,9 @@
<property id="orientation" default="GTK_ORIENTATION_HORIZONTAL" custom-layout="True"/>
<property id="stack" custom-layout="True"/>
<property id="icon-size" custom-layout="True" since="3.20"/>
+ <property id="homogeneous" custom-layout="True"/>
<!-- Disable GtkBox stuff -->
<property id="size" disabled="True" default="0"/>
- <property id="homogeneous" disabled="True"/>
<property id="spacing" disabled="True"/>
<property id="baseline-position" disabled="True"/>
</properties>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]