[eog] EogApplication: Switch keyboard shortcuts for sidebar and gallery



commit af2c965c432ac9bd454350be3a7af6668057fd58
Author: Felix Riemann <friemann gnome org>
Date:   Sat Feb 3 14:46:34 2018 +0100

    EogApplication: Switch keyboard shortcuts for sidebar and gallery
    
    This makes eog behave the same as other GNOME apps like Nautilus,
    GNOME Builder and gedit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792682

 data/help-overlay.ui  |   10 +++++-----
 src/eog-application.c |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/help-overlay.ui b/data/help-overlay.ui
index fd1f26f..4914ba9 100644
--- a/data/help-overlay.ui
+++ b/data/help-overlay.ui
@@ -64,15 +64,15 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;ctrl&gt;F9</property>
-                <property name="title" translatable="yes" context="shortcut window">Show/Hide the 
sidebar</property>
+                <property name="accelerator">&lt;alt&gt;Return</property>
+                <property name="title" translatable="yes" context="shortcut window">Show image properties 
dialog</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;alt&gt;Return</property>
-                <property name="title" translatable="yes" context="shortcut window">Show image properties 
dialog</property>
+                <property name="accelerator">F9</property>
+                <property name="title" translatable="yes" context="shortcut window">Show/Hide the 
sidebar</property>
               </object>
             </child>
             <child>
@@ -188,7 +188,7 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">F9</property>
+                <property name="accelerator">&lt;ctrl&gt;F9</property>
                 <property name="title" translatable="yes" context="shortcut window">Show/Hide the image 
gallery</property>
               </object>
             </child>
diff --git a/src/eog-application.c b/src/eog-application.c
index 3967390..95ca9ac 100644
--- a/src/eog-application.c
+++ b/src/eog-application.c
@@ -230,8 +230,8 @@ eog_application_init_accelerators (GtkApplication *application)
                                        "<Ctrl>KP_Subtract", NULL,
                "win.zoom-normal",      "<Ctrl>0", NULL,
 
-               "win.view-gallery",     "F9", NULL,
-               "win.view-sidebar",     "<Ctrl>F9", NULL,
+               "win.view-gallery",     "<Ctrl>F9", NULL,
+               "win.view-sidebar",     "F9", NULL,
                "win.view-fullscreen",  "F11", NULL,
                "win.view-slideshow",   "F5", NULL,
                "win.toggle-zoom-fit",  "F", NULL,


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