[gnome-calculator] Removed Ctrl+F1 from keyboard shortcuts (fixes #148)



commit 3d79d4beb552f2343cc825dab36f72bc07c7816f
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Feb 7 15:16:36 2020 +0200

    Removed Ctrl+F1 from keyboard shortcuts (fixes #148)

 src/gnome-calculator.vala | 2 +-
 src/math-shortcuts.ui     | 9 +--------
 2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index 0f3141be..99a78b10 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -108,7 +108,7 @@ public class Calculator : Gtk.Application
         set_accels_for_action ("app.quit", {"<control>Q"});
         set_accels_for_action ("app.new-window", {"<control>N"});
         set_accels_for_action ("app.help", {"F1"});
-        set_accels_for_action ("app.shortcuts", {"<control>F1", "<control>question"});
+        set_accels_for_action ("app.shortcuts", {"<control>question"});
         return current_window;
     }
 
diff --git a/src/math-shortcuts.ui b/src/math-shortcuts.ui
index abf4ee1d..5ae8368e 100644
--- a/src/math-shortcuts.ui
+++ b/src/math-shortcuts.ui
@@ -51,7 +51,7 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;ctrl&gt;F1</property>
+                <property name="accelerator">&lt;ctrl&gt;question</property>
                 <property name="title" translatable="yes" context="shortcut window">Keyboard 
shortcuts</property>
               </object>
             </child>
@@ -233,13 +233,6 @@
                 <property name="title" translatable="yes" context="shortcut window">Next result</property>
               </object>
             </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">1</property>
-                <property name="accelerator">&lt;ctrl&gt;question</property>
-                <property name="title" translatable="yes" context="shortcut window">Keyboard shortcuts 
(alt.)</property>
-              </object>
-            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>


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