anotherim-desktop/main/data/menu_app.ui
Christopher Davis 3d5dad25d8 application: Load help overlay automatically
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
2023-07-08 11:20:51 +02:00

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>