[gnome-calculator] Remove mnemonics blocking mode shortcuts (fixes #138)



commit 08da439a84c8db4ec30f08badeab7f94352e5aa3
Author: Robert Roth <robert roth off gmail com>
Date:   Sat Feb 1 10:22:58 2020 +0200

    Remove mnemonics blocking mode shortcuts (fixes #138)
    
    Due to gtk#860 mnemonics inside the popupbutton primary menu steal
    the shortcuts with Alt, and as such the mode selections do not work
    on English locale, where Programming mode selection is stolen by the
    _Preferences mnemonic, Advanced mode selection stolen by the _About
    mnemonic, and Keyboard mode stolen by the _Keyboard shortcuts mnemonic.
    Until I find a reasonable workaround or this gets fixed in gtk, removing
    the mnemonics for the problematic items.

 src/math-window.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/math-window.ui b/src/math-window.ui
index 0d9cf81d..e855c403 100644
--- a/src/math-window.ui
+++ b/src/math-window.ui
@@ -53,11 +53,11 @@
     <section>
       <attribute name="id">help-section</attribute>
       <item>
-        <attribute name="label" translatable="yes">_Preferences</attribute>
+        <attribute name="label" translatable="yes">Preferences</attribute>
         <attribute name="action">app.preferences</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
+        <attribute name="label" translatable="yes">Keyboard Shortcuts</attribute>
         <attribute name="action">app.shortcuts</attribute>
       </item>
       <item>
@@ -65,7 +65,7 @@
         <attribute name="action">app.help</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_About Calculator</attribute>
+        <attribute name="label" translatable="yes">About Calculator</attribute>
         <attribute name="action">app.about</attribute>
       </item>
     </section>


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