gtk-demo: Put hte app menu in a separate file

No need to cram it in the same file as the main window.
This commit is contained in:
Matthias Clasen
2016-02-27 23:43:06 -05:00
parent 9d5ad67c91
commit 492fec6294
4 changed files with 21 additions and 16 deletions

View File

@ -1,21 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.10 -->
<menu id="appmenu">
<section>
<item>
<attribute name="label" translatable="yes">About</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Quit</attribute>
<attribute name="action">app.quit</attribute>
<attribute name="accel">&lt;Primary&gt;q</attribute>
</item>
</section>
</menu>
<object class="GtkTreeStore" id="treestore">
<columns>
<!-- column-name NAME -->