Move app menu to gtk/menus.ui

This way it gets automatically loaded, and the setup_menu() function can
be removed from AgApp.
This commit is contained in:
2014-10-19 02:15:01 +02:00
parent 22f0302db4
commit c5d27711b5
4 ha cambiato i file con 3 aggiunte e 26 eliminazioni

Vedi File

@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.0" />
<menu id="app-menu">
<section>
<item>
<attribute name="label" translatable="yes">New window</attribute>
<attribute name="action">app.new-window</attribute>
<attribute name="accel">&lt;Primary&gt;n</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Import</attribute>
<attribute name="action">app.import</attribute>
<attribute name="target">agc</attribute>
<attribute name="accel">&lt;Primary&gt;o</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Import from Placidus</attribute>
<attribute name="action">app.import</attribute>
<attribute name="target">hor</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
<attribute name="accel">&lt;Primary&gt;p</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">About Astrognome</attribute>
<attribute name="action">app.about</attribute>
</item>
<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>
</interface>