Use only application wide actions in the menu, as stated in GNOME HIG Migrated to use GtkBuilder files
30 lines
988 B
XML
30 lines
988 B
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<menu id="appmenu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_New</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>
|
|
<attribute name="accel"><Primary>a</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>
|
|
</interface>
|