aboutsummaryrefslogtreecommitdiff
path: root/main/data/menu_app.ui
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2023-07-03 21:55:11 -0400
committerfiaxh <fiaxh@users.noreply.github.com>2023-07-08 11:20:51 +0200
commit3d5dad25d8d400003bea74b4c891f041c01351b5 (patch)
tree7ce3a1c811a239deaec65a9e9cec7f7923bd009c /main/data/menu_app.ui
parenta36a63d7e42f5a21ecc3755db2570ce2b379f5ff (diff)
downloaddino-3d5dad25d8d400003bea74b4c891f041c01351b5.tar.gz
dino-3d5dad25d8d400003bea74b4c891f041c01351b5.zip
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
Diffstat (limited to 'main/data/menu_app.ui')
-rw-r--r--main/data/menu_app.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/data/menu_app.ui b/main/data/menu_app.ui
index f269e219..bb33ff65 100644
--- a/main/data/menu_app.ui
+++ b/main/data/menu_app.ui
@@ -13,7 +13,7 @@
<attribute name="label" translatable="yes">Preferences</attribute>
</item>
<item>
- <attribute name="action">app.open_shortcuts</attribute>
+ <attribute name="action">win.show-help-overlay</attribute>
<attribute name="label" translatable="yes">Keyboard Shortcuts</attribute>
</item>
<item>