[devhelp] app: use ctrl+w to close a tab



commit 84b5b938532b303fe78ee30867cd6d79377960e4
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Feb 5 19:47:31 2013 +0100

    app: use ctrl+w to close a tab
    
    Seems we lost this during the latest changes.

 src/dh-app.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 0aea867..324e4b1 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -283,6 +283,7 @@ setup_accelerators (DhApp *self)
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>c",     "win.copy",         NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>p",     "win.print",        NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>t",     "win.new-tab",      NULL);
+        gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>w",     "win.close",        NULL);
 }
 
 /******************************************************************************/



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