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.vala10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 132705cf..ca78c735 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -132,6 +132,16 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
});
add_action(conference_action);
set_accels_for_action("app.add_conference", new string[]{"<Ctrl>G"});
+
+ SimpleAction loop_conversations_action = new SimpleAction("loop_conversations", null);
+ loop_conversations_action.activate.connect(() => {controller.loop_conversations(false);});
+ add_action(loop_conversations_action);
+ set_accels_for_action("app.loop_conversations", new string[]{"<Ctrl>Tab"});
+
+ SimpleAction loop_conversations_bw_action = new SimpleAction("loop_conversations_bw", null);
+ loop_conversations_bw_action.activate.connect(() => {controller.loop_conversations(true);});
+ add_action(loop_conversations_bw_action);
+ set_accels_for_action("app.loop_conversations_bw", new string[]{"<Ctrl><Shift>Tab"});
}
public bool use_csd() {