[eog: 9/11] application: add shortcut for presenter




commit e4a4a3a9b23671bbf421be1ffca80b500a34f488
Author: Peter Eisenmann <p3732 getgoogleoff me>
Date:   Thu Aug 5 23:22:44 2021 +0200

    application: add shortcut for presenter

 data/help-overlay.ui  | 7 +++++++
 src/eog-application.c | 1 +
 2 files changed, 8 insertions(+)
---
diff --git a/data/help-overlay.ui b/data/help-overlay.ui
index 827828af..d47682c4 100644
--- a/data/help-overlay.ui
+++ b/data/help-overlay.ui
@@ -235,6 +235,13 @@
                 <property name="title" translatable="yes" context="shortcut window">Go to a random image in 
the folder</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">&lt;shift&gt;&lt;ctrl&gt;P</property>
+                <property name="title" translatable="yes" context="shortcut window">Show presenter with 
separate controls</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
diff --git a/src/eog-application.c b/src/eog-application.c
index a9a509c9..6d114778 100644
--- a/src/eog-application.c
+++ b/src/eog-application.c
@@ -210,6 +210,7 @@ eog_application_init_accelerators (GtkApplication *application)
                "win.close-all",        "<Ctrl>q", NULL,
                "win.print",            "<Ctrl>p", NULL,
                "win.properties",       "<Alt>Return", NULL,
+               "win.show-remote",      "<Ctrl><Shift>p", NULL,
                "win.set-wallpaper",    "<Ctrl>F8", NULL,
                "win.manual",           "F1", NULL,
 


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