summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSabri Ünal <libreajans@gmail.com>2023-01-02 02:47:16 +0300
committerSabri Ünal <libreajans@gmail.com>2023-01-02 02:50:50 +0300
commit667fbc6b2426e1cdbce6764658fe0f02d3d251d2 (patch)
treec008874a9bd3c820ea8d2b102b47e89a0f012e98
parent5392883347c4e5bb35de1d91f5d67737cc7ee6fc (diff)
downloadgnome-contacts-667fbc6b2426e1cdbce6764658fe0f02d3d251d2.tar.gz
help-overlay: Convert accellerator to action-name
With action-name, we don't need to define accelerators again.
-rw-r--r--data/gtk/help-overlay.ui8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui
index f07489a..dce2ea6 100644
--- a/data/gtk/help-overlay.ui
+++ b/data/gtk/help-overlay.ui
@@ -7,7 +7,7 @@
<property name="title" translatable="yes" context="shortcut window">Overview</property>
<child>
<object class="GtkShortcutsShortcut">
- <property name="accelerator">F1</property>
+ <property name="action-name">app.help</property>
<property name="title" translatable="yes" context="shortcut window">Help</property>
</object>
</child>
@@ -19,7 +19,7 @@
</child>
<child>
<object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;Primary&gt;comma</property>
+ <property name="action-name">app.show-preferences</property>
<property name="title" translatable="yes" context="shortcut window">Show preferences</property>
</object>
</child>
@@ -37,13 +37,13 @@
</child>
<child>
<object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;Primary&gt;question</property>
+ <property name="action-name">win.show-help-overlay</property>
<property name="title" translatable="yes" context="shortcut window">Shortcut list</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;Primary&gt;q</property>
+ <property name="action-name">app.quit</property>
<property name="title" translatable="yes" context="shortcut window">Quit</property>
</object>
</child>