summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSabri Ünal <libreajans@gmail.com>2023-01-10 01:56:56 +0300
committerJamie Murphy <hello@itsjamie.dev>2023-01-14 11:36:26 +0000
commitd8d579a619cf54950b067da50750190747ab82c7 (patch)
tree332428898a5bd953f5e5d25a1e3300403aeeba32
parente3f218a74cbf07a3f710f05a1e6727b508e82243 (diff)
downloadgnome-todo-d8d579a619cf54950b067da50750190747ab82c7.tar.gz
help-overlay: Use action-name properties
Use action-name properties to avoid repeating shortcut assignments.
-rw-r--r--src/gui/shortcuts-dialog.ui4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcuts-dialog.ui b/src/gui/shortcuts-dialog.ui
index b373eac4..7e6ffded 100644
--- a/src/gui/shortcuts-dialog.ui
+++ b/src/gui/shortcuts-dialog.ui
@@ -16,13 +16,13 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Quit</property>
- <property name="accelerator">&lt;Control&gt;Q</property>
+ <property name="action-name">app.quit</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Help</property>
- <property name="accelerator">F1</property>
+ <property name="action-name">app.help</property>
</object>
</child>