We don't have to load most of the menus we're currently loading by using the very handy automatic resource loading. This patch fixup so the app loads resources automagically.
58 lines
1.9 KiB
XML
58 lines
1.9 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<menu id="app-menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">Add Eve_nt…</attribute>
|
|
<attribute name="action">app.new</attribute>
|
|
<attribute name="accel"><Primary>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Search…</attribute>
|
|
<attribute name="action">app.search</attribute>
|
|
<attribute name="accel"><Primary>f</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_About</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"><Primary>q</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="win-menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">Add Eve_nt…</attribute>
|
|
<attribute name="action">app.new</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Synchronize</attribute>
|
|
<attribute name="action">app.sync</attribute>
|
|
<attribute name="accel">F5</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="add-source-menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">From Web…</attribute>
|
|
<attribute name="action">source.web</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">New Local Calendar…</attribute>
|
|
<attribute name="action">source.local</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">From File…</attribute>
|
|
<attribute name="action">source.file</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|