[eog: 1/2] eog-application.c: Add new shortcut for zoom-normal action



commit 32c61f7eb60012aaa81f0569bd9ecc9535a4c5e2
Author: Sabri Ünal <libreajans gmail com>
Date:   Sun Apr 12 18:55:04 2020 +0300

    eog-application.c: Add new shortcut for zoom-normal action
    
    It's very common to use Ctrl+KP_0 shortcut for zoom normal action.
    This patch adds Ctrl+KP_0 shortcut for it.

 src/eog-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/eog-application.c b/src/eog-application.c
index a1227ea7..a464e4e4 100644
--- a/src/eog-application.c
+++ b/src/eog-application.c
@@ -226,7 +226,7 @@ eog_application_init_accelerators (GtkApplication *application)
                                        "<Ctrl>plus", NULL,
                "win.zoom-out",         "<Ctrl>minus",
                                        "<Ctrl>KP_Subtract", NULL,
-               "win.zoom-normal",      "<Ctrl>0", NULL,
+               "win.zoom-normal",      "<Ctrl>0", "<Ctrl>KP_0", NULL,
 
                "win.view-gallery",     "<Ctrl>F9", NULL,
                "win.view-sidebar",     "F9", NULL,


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