aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 706a61e6..918fb26c 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -10,6 +10,7 @@ public class Dino.Ui.Application : Adw.Application, Dino.Application {
private const string[] KEY_COMBINATION_ADD_CONFERENCE = {"<Ctrl>G", null};
private const string[] KEY_COMBINATION_LOOP_CONVERSATIONS = {"<Ctrl>Tab", null};
private const string[] KEY_COMBINATION_LOOP_CONVERSATIONS_REV = {"<Ctrl><Shift>Tab", null};
+ private const string[] KEY_COMBINATION_SHOW_SETTINGS = {"<Ctrl>comma", null};
private MainWindow window;
public MainWindowController controller;
@@ -116,6 +117,7 @@ public class Dino.Ui.Application : Adw.Application, Dino.Application {
SimpleAction preferences_action = new SimpleAction("preferences", null);
preferences_action.activate.connect(show_preferences_window);
add_action(preferences_action);
+ set_accels_for_action("app.preferences", KEY_COMBINATION_SHOW_SETTINGS);
SimpleAction preferences_account_action = new SimpleAction("preferences-account", VariantType.INT32);
preferences_account_action.activate.connect((variant) => {