[devhelp] Revert "app: by convenience, also ctrl+l to focus search"



commit e31cc35b6371085d3ba2d7e2c68d8dcc7d2997b6
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Feb 7 12:24:52 2013 +0100

    Revert "app: by convenience, also ctrl+l to focus search"
    
    This reverts commit 2d13ab5ab32cea91647b670a2e28c79e10638686.
    
    Seems we can't really have two accelerators for the same action in a
    GtkApplication. So better stick with ctrl+k for focus search.

 src/dh-app.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 324e4b1..b175995 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -278,7 +278,6 @@ setup_accelerators (DhApp *self)
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>minus", "win.zoom-out",     NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>plus",  "win.zoom-in",      NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>k",     "win.focus-search", NULL);
-        gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>l",     "win.focus-search", NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>f",     "win.find",         NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>c",     "win.copy",         NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>p",     "win.print",        NULL);


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