[gnome-contacts] Remove ctrl+f1 shorcut support from Keyboard Shorcuts page



commit 336668b5f83be548d8f1a00bab39ab9d8bfa3e17
Author: Sabri Ünal <libreajans gmail com>
Date:   Tue Feb 4 13:59:39 2020 +0300

    Remove ctrl+f1 shorcut support from Keyboard Shorcuts page
    
    Due to "Ctrl+F1 accel for GtkApplication help-overlay conflicts
    with GtkWidget binding to toggle tooltip"
    (https://gitlab.gnome.org/GNOME/gtk/issues/626),
    remove ctrl+f1 shorcut support from Keyboard Shorcuts page

 data/gtk/help-overlay.ui | 2 +-
 src/contacts-app.vala    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui
index 3147979..31941ac 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;F1 &lt;Primary&gt;question</property>
+                <property name="accelerator">&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 af4bfa5..1044b3f 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -272,7 +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"});
+    this.set_accels_for_action ("win.show-help-overlay", {"<Primary>question"});
   }
 
   private void create_window () {


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