From 864196d2acef3db047160b9da5803805067276c3 Mon Sep 17 00:00:00 2001
From: fiaxh <git@lightrise.org>
Date: Tue, 5 Feb 2019 20:44:57 +0100
Subject: [PATCH] Add keyboard shortcuts: CTRL+T (Start Conversation), CTRL+G
 (Join Channel)

---
 main/src/ui/application.vala | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 22c3256f..e63caff8 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -121,6 +121,7 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
             add_chat_dialog.present();
         });
         add_action(contacts_action);
+        set_accels_for_action("app.add_chat", new string[]{"<Ctrl>T"});
 
         SimpleAction conference_action = new SimpleAction("add_conference", null);
         conference_action.activate.connect(() => {
@@ -130,6 +131,7 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
             add_conference_dialog.present();
         });
         add_action(conference_action);
+        set_accels_for_action("app.add_conference", new string[]{"<Ctrl>G"});
     }
 
     private void show_accounts_window() {