geary/ui/app_menu.interface
Charles Lindsay 2a073e8bbb Export actions via application menu
This adds an app menu, which should show up in modern Unity and GNOME
Shell alike.  We're exporting our existing GtkActions as GActions using
an adapter class, and we've created a new menu definition for the app
menu.

Closes: bgo#713018
2013-12-12 11:34:45 -08:00

40 lines
1.6 KiB
Text

<interface>
<menu id='app-menu'>
<section>
<item>
<attribute name='label' translatable='yes'>A_ccounts</attribute>
<attribute name='action'>app.GearyAccounts</attribute>
<attribute name='accel'>&lt;Primary&gt;M</attribute>
</item>
<item>
<attribute name='label' translatable='yes'>_Preferences</attribute>
<attribute name='action'>app.GearyPreferences</attribute>
<attribute name='accel'>&lt;Primary&gt;E</attribute>
</item>
</section>
<section>
<item>
<attribute name='label' translatable='yes'>_Donate</attribute>
<attribute name='action'>app.GearyDonate</attribute>
</item>
</section>
<section>
<item>
<attribute name='label' translatable='yes'>_Help</attribute>
<attribute name='action'>app.GearyHelp</attribute>
<attribute name='accel'>F1</attribute>
</item>
<item>
<attribute name='label' translatable='yes'>_About</attribute>
<attribute name='action'>app.GearyAbout</attribute>
</item>
</section>
<section>
<item>
<attribute name='label' translatable='yes'>_Quit</attribute>
<attribute name='action'>app.GearyQuit</attribute>
<attribute name='accel'>&lt;Primary&gt;Q</attribute>
</item>
</section>
</menu>
</interface>