[shotwell] Add F4 as shortcut for Date/Time dialog



commit 7026555aede74e65ee374f0baa52c5c8d1b2458e
Author: Jens Georg <mail jensge org>
Date:   Mon Dec 18 11:07:55 2017 +0100

    Add F4 as shortcut for Date/Time dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753943

 src/CollectionPage.vala |    2 +-
 ui/direct.ui            |    1 +
 ui/photo.ui             |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/CollectionPage.vala b/src/CollectionPage.vala
index 232e5d2..2b308b9 100644
--- a/src/CollectionPage.vala
+++ b/src/CollectionPage.vala
@@ -132,7 +132,7 @@ public abstract class CollectionPage : MediaPage {
     private static InjectionGroup create_photos_menu_date_injectables() {
         InjectionGroup group = new InjectionGroup("PhotosExtrasDateTimePlaceholder");
         
-        group.add_menu_item(_("Adjust Date and Time…"), "AdjustDateTime");
+        group.add_menu_item(_("Adjust Date and Time…"), "AdjustDateTime", "F4");
         
         return group;
     }
diff --git a/ui/direct.ui b/ui/direct.ui
index 75acb0f..f079ff8 100644
--- a/ui/direct.ui
+++ b/ui/direct.ui
@@ -165,6 +165,7 @@
       <section>
         <item>
           <attribute name="label" translatable="yes">_Adjust Date and Time…</attribute>
+          <attribute name="accel">F4</attribute>
           <attribute name="action">win.AdjustDateTime</attribute>
         </item>
       </section>
diff --git a/ui/photo.ui b/ui/photo.ui
index 26a0a02..3219557 100644
--- a/ui/photo.ui
+++ b/ui/photo.ui
@@ -335,6 +335,7 @@
         </item>
         <item>
           <attribute name="label" translatable="yes">_Adjust Date and Time…</attribute>
+          <attribute name="accel">F4</attribute>
           <attribute name="action">win.AdjustDateTime</attribute>
         </item>
       </section>


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