diff options
author | Sabri Ünal <libreajans@gmail.com> | 2023-01-02 02:47:16 +0300 |
---|---|---|
committer | Sabri Ünal <libreajans@gmail.com> | 2023-01-02 02:50:50 +0300 |
commit | 667fbc6b2426e1cdbce6764658fe0f02d3d251d2 (patch) | |
tree | c008874a9bd3c820ea8d2b102b47e89a0f012e98 /data | |
parent | 5392883347c4e5bb35de1d91f5d67737cc7ee6fc (diff) | |
download | gnome-contacts-667fbc6b2426e1cdbce6764658fe0f02d3d251d2.tar.gz |
help-overlay: Convert accellerator to action-name
With action-name, we don't need to define accelerators again.
Diffstat (limited to 'data')
-rw-r--r-- | data/gtk/help-overlay.ui | 8 |
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"><Primary>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"><Primary>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"><Primary>q</property> + <property name="action-name">app.quit</property> <property name="title" translatable="yes" context="shortcut window">Quit</property> </object> </child> |