3d5dad25d8
GTK automatically loads and sets up the action and keyboard shortcut for the Keyboard Shortcuts dialog. We don't need to manually do it as long as we put everything in the right place. See https://docs.gtk.org/gtk4/class.Application.html#automatic-resources
26 lines
936 B
XML
26 lines
936 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<menu id="menu_app">
|
|
<section>
|
|
<item>
|
|
<attribute name="action">app.accounts</attribute>
|
|
<attribute name="label" translatable="yes">Accounts</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="action">app.settings</attribute>
|
|
<attribute name="label" translatable="yes">Preferences</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="action">win.show-help-overlay</attribute>
|
|
<attribute name="label" translatable="yes">Keyboard Shortcuts</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="action">app.about</attribute>
|
|
<attribute name="label" translatable="yes">About Dino</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|