Adapt the testpopover example

Drop all uses of has-submenu.
This commit is contained in:
Matthias Clasen 2014-10-26 16:23:50 -04:00
parent ef22be9bb7
commit 1fee63d097

View File

@ -129,7 +129,6 @@
<object class="GtkModelButton"> <object class="GtkModelButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Submenu 1</property> <property name="text">Submenu 1</property>
<property name="has-submenu">True</property>
<property name="menu-name">submenu1</property> <property name="menu-name">submenu1</property>
</object> </object>
</child> </child>
@ -137,7 +136,6 @@
<object class="GtkModelButton"> <object class="GtkModelButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Submenu 2</property> <property name="text">Submenu 2</property>
<property name="has-submenu">True</property>
<property name="menu-name">submenu2</property> <property name="menu-name">submenu2</property>
</object> </object>
</child> </child>
@ -186,7 +184,6 @@
<object class="GtkModelButton"> <object class="GtkModelButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Submenu 1</property> <property name="text">Submenu 1</property>
<property name="has-submenu">True</property>
<property name="inverted">True</property> <property name="inverted">True</property>
<property name="centered">True</property> <property name="centered">True</property>
<property name="menu-name">main</property> <property name="menu-name">main</property>
@ -499,7 +496,6 @@
<object class="GtkModelButton"> <object class="GtkModelButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Submenu 2</property> <property name="text">Submenu 2</property>
<property name="has-submenu">True</property>
<property name="inverted">True</property> <property name="inverted">True</property>
<property name="centered">True</property> <property name="centered">True</property>
<property name="menu-name">main</property> <property name="menu-name">main</property>
@ -523,7 +519,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Subsubmenu</property> <property name="text">Subsubmenu</property>
<property name="icon">icon9</property> <property name="icon">icon9</property>
<property name="has-submenu">True</property>
<property name="menu-name">subsubmenu</property> <property name="menu-name">subsubmenu</property>
</object> </object>
<packing> <packing>
@ -534,7 +529,6 @@
<object class="GtkModelButton"> <object class="GtkModelButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="text">Subsubmenu</property> <property name="text">Subsubmenu</property>
<property name="has-submenu">True</property>
<property name="inverted">True</property> <property name="inverted">True</property>
<property name="centered">True</property> <property name="centered">True</property>
<property name="menu-name">submenu2</property> <property name="menu-name">submenu2</property>