[gnome-contacts] Make shortcuts of Keyboard Shortcuts page official.



commit 695992fdd7c4d1c2627101ba69ab5083597f9f79
Author: Sabri Ünal <libreajans gmail com>
Date:   Tue Jan 7 22:22:07 2020 +0300

    Make shortcuts of Keyboard Shortcuts page official.

 data/gtk/help-overlay.ui | 2 +-
 src/contacts-app.vala    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui
index 31941ac..3147979 100644
--- a/data/gtk/help-overlay.ui
+++ b/data/gtk/help-overlay.ui
@@ -31,7 +31,7 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;Primary&gt;question</property>
+                <property name="accelerator">&lt;Primary&gt;F1 &lt;Primary&gt;question</property>
                 <property name="title" translatable="yes" context="shortcut window">Shortcut list</property>
               </object>
             </child>
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index b0205b4..1cc38ad 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -272,6 +272,7 @@ public class Contacts.App : Gtk.Application {
 
     this.set_accels_for_action ("app.help", {"F1"});
     this.set_accels_for_action ("app.new-contact", {"<Primary>n"});
+    this.set_accels_for_action ("win.show-help-overlay", {"<Primary>F1", "<Primary>question"});
   }
 
   private void create_window () {


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