[hotssh] app: Bind Control-Shift-T to win.new-tab



commit 5670141ec94be9a6cda495207cf9e522459d4749
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 18 15:28:15 2013 -0500

    app: Bind Control-Shift-T to win.new-tab
    
    Since that's what gnome-terminal users expect.

 src/hotssh-app.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/hotssh-app.c b/src/hotssh-app.c
index 644c52c..bf73bbf 100644
--- a/src/hotssh-app.c
+++ b/src/hotssh-app.c
@@ -89,6 +89,8 @@ hotssh_app_startup (GApplication *app)
   app_menu = G_MENU_MODEL (gtk_builder_get_object (builder, "appmenu"));
   gtk_application_set_app_menu (GTK_APPLICATION (app), app_menu);
   g_object_unref (builder);
+
+  gtk_application_add_accelerator ((GtkApplication*)app, "<Control><Shift>T", "win.new-tab", NULL);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]