[gtk] widget-factory: menu buttons can't have children
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget-factory: menu buttons can't have children
- Date: Sun, 19 May 2019 04:16:17 +0000 (UTC)
commit 3030e887a4fd73dddaa0b09b22dba8d86b62a10e
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 19 04:14:56 2019 +0000
widget-factory: menu buttons can't have children
GtkMenuButton is no longer a container, so we
can't pack children in it.
demos/widget-factory/widget-factory.ui | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 1085b49201..a679299fd3 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -2442,27 +2442,7 @@ microphone-sensitivity-medium-symbolic</property>
<object class="GtkMenuButton" id="open_menubutton">
<property name="halign">center</property>
<property name="popover">open_popover</property>
- <style>
- <class name="text-button"/>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkBox">
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel">
- <property name="valign">baseline</property>
- <property name="label">Open</property>
- </object>
- </child>
- <child>
- <object class="GtkImage">
- <property name="valign">baseline</property>
- <property name="icon-name">pan-down-symbolic</property>
- </object>
- </child>
- </object>
- </child>
+ <property name="label">Open</property>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]