[gtk/wip/baedert/for-master: 38/55] 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: 38/55] demo: Don't manually add labels to menubuttons
- Date: Tue, 8 Oct 2019 07:46:07 +0000 (UTC)
commit 2fcf27918e1048a5bc0684d2bbd286980a326f69
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]