[eog] EogApplication: Switch keyboard shortcuts for sidebar and gallery
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogApplication: Switch keyboard shortcuts for sidebar and gallery
- Date: Sat, 3 Feb 2018 13:55:08 +0000 (UTC)
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"><ctrl>F9</property>
- <property name="title" translatable="yes" context="shortcut window">Show/Hide the
sidebar</property>
+ <property name="accelerator"><alt>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"><alt>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"><ctrl>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]