[evince] ev-application.c: add Shift+F5 to presentation mode shortcuts



commit 5d5559ade72b6fe6ac3e7adc05924aa05f46d247
Author: Mirek Kratochvil <exa exa gmail com>
Date:   Tue Jul 17 16:44:41 2018 +0200

    ev-application.c: add Shift+F5 to presentation mode shortcuts
    
    Several presentation remotes (mainly Logitech and its cheaper clones) send
    Shift+F5 as a combination for entering presentation mode. Evince does not
    currently react to Shift+F5; this patch fixes that.
    
    In Powerpoint, Shift+F5 starts a presentation from the active (current) slide,
    whereas F5 starts the presentation from the beginning.
    
    Either way, it is expected that remote controls send either key stroke.

 shell/ev-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 96ceea11..ed532207 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -973,7 +973,7 @@ ev_application_startup (GApplication *gapplication)
           "win.zoom-out",               "minus", "<Ctrl>minus", "KP_Subtract", "<Ctrl>KP_Subtract", NULL,
           "win.show-side-pane",         "F9", NULL,
           "win.fullscreen",             "F11", NULL,
-          "win.presentation",           "F5", NULL,
+          "win.presentation",           "F5", "<Shift>F5", NULL,
           "win.continuous",             "c", NULL,
           "win.dual-page",              "d", NULL,
           "win.rotate-left",            "<Ctrl>Left", NULL,


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