gtk-demo: Remove menus from listbox demo

This commit is contained in:
Matthias Clasen 2019-12-28 10:12:51 -05:00
parent abcd83dd78
commit 6b691bc02d

View File

@ -1,19 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40"> <interface domain="gtk40">
<object class="GtkMenu" id="menu1"> <menu id="menu1">
<child> <section>
<object class="GtkMenuItem" id="menuitem1"> <item>
<property name="label" translatable="yes">Email message</property> <attribute name="label" translatable="yes">Email message</attribute>
<property name="use-underline">1</property> </item>
</object> <item>
</child> <attribute name="label" translatable="yes">Embed message</attribute>
<child> </item>
<object class="GtkMenuItem" id="menuitem2"> </section>
<property name="label" translatable="yes">Embed message</property> </menu>
<property name="use-underline">1</property>
</object>
</child>
</object>
<template class="GtkMessageRow" parent="GtkListBoxRow"> <template class="GtkMessageRow" parent="GtkListBoxRow">
<child> <child>
<object class="GtkGrid" id="grid1"> <object class="GtkGrid" id="grid1">
@ -171,7 +167,7 @@
<object class="GtkMenuButton" id="more-button"> <object class="GtkMenuButton" id="more-button">
<property name="can-focus">1</property> <property name="can-focus">1</property>
<property name="receives-default">1</property> <property name="receives-default">1</property>
<property name="popup">menu1</property> <property name="menu-model">menu1</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="label" translatable="yes">More...</property> <property name="label" translatable="yes">More...</property>
</object> </object>