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
40 lines
1.6 KiB
Text
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'><Primary>M</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label' translatable='yes'>_Preferences</attribute>
|
|
<attribute name='action'>app.GearyPreferences</attribute>
|
|
<attribute name='accel'><Primary>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'><Primary>Q</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|