diff options
author | sabriunal <libreajans@gmail.com> | 2022-12-02 22:19:42 +0300 |
---|---|---|
committer | sabriunal <libreajans@gmail.com> | 2022-12-02 22:19:42 +0300 |
commit | 900bdf31e3f9f2177838b8303c2d0934cfa08086 (patch) | |
tree | f64424f8e0e34f3ea5e1952d1da21aae093d3dda /src | |
parent | 8581aa9e0d86fbc6d2afc7b050901c3744a30ae6 (diff) | |
download | gnome-contacts-900bdf31e3f9f2177838b8303c2d0934cfa08086.tar.gz |
application: Add shortcut support for preferences
Ctrl+comma is a standard shortcut for Preferences across GNOME.
Add support for it to comply GNOME HIG.
More information: https://developer.gnome.org/hig/reference/keyboard.html
Diffstat (limited to 'src')
-rw-r--r-- | src/contacts-app.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contacts-app.vala b/src/contacts-app.vala index 89117c1..3a2cb11 100644 --- a/src/contacts-app.vala +++ b/src/contacts-app.vala @@ -254,6 +254,7 @@ public class Contacts.App : Adw.Application { this.add_action_entries (action_entries, this); this.set_accels_for_action ("app.help", {"F1"}); + this.set_accels_for_action ("app.show-preferences", {"<Control>comma"}); this.set_accels_for_action ("app.quit", {"<Control>q"}); } |