From 864196d2acef3db047160b9da5803805067276c3 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 5 Feb 2019 20:44:57 +0100 Subject: Add keyboard shortcuts: CTRL+T (Start Conversation), CTRL+G (Join Channel) --- main/src/ui/application.vala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/src/ui') 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[]{"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[]{"G"}); } private void show_accounts_window() { -- cgit v1.2.3-70-g09d2