[gtk/wip/baedert/for-master: 2/32] demo: Don't manually add labels to menubuttons
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 2/32] demo: Don't manually add labels to menubuttons
- Date: Sun, 6 Oct 2019 07:07:14 +0000 (UTC)
commit cd0e9bb3d4ff38798ca72a6ac8f74883e85df224
Author: Timm Bäder <mail baedert org>
Date: Thu Oct 3 10:32:30 2019 +0200
demo: Don't manually add labels to menubuttons
demos/gtk-demo/modelbutton.ui | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/demos/gtk-demo/modelbutton.ui b/demos/gtk-demo/modelbutton.ui
index e6124dcf16..438433f09a 100644
--- a/demos/gtk-demo/modelbutton.ui
+++ b/demos/gtk-demo/modelbutton.ui
@@ -14,34 +14,19 @@
<child>
<object class="GtkMenuButton">
<property name="popover">thing_a</property>
- <child>
- <object class="GtkLabel">
- <property name="label">Color</property>
- <property name="hexpand">1</property>
- </object>
- </child>
+ <property name="label">Color</property>
</object>
</child>
<child>
<object class="GtkMenuButton">
<property name="popover">thing_b</property>
- <child>
- <object class="GtkLabel">
- <property name="label">Flavors</property>
- <property name="hexpand">1</property>
- </object>
- </child>
+ <property name="label">Flavors</property>
</object>
</child>
<child>
<object class="GtkMenuButton">
<property name="popover">thing_c</property>
- <child>
- <object class="GtkLabel">
- <property name="label">Tools</property>
- <property name="hexpand">1</property>
- </object>
- </child>
+ <property name="label">Tools</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]