[gnome-control-center] help-overlay: Show correct 'Back' shortcut in RTL locales



commit c6bde9770d623b8d0f7d0937a4d4e86436e364b1
Author: Felix Riemann <friemann gnome org>
Date:   Sun Dec 20 16:17:34 2020 +0100

    help-overlay: Show correct 'Back' shortcut in RTL locales
    
    The 'Back' shortcut automatically switches to Alt+Right in RTL locales.
    Add direction properties to achieve the same effect in the help overlay.
    
    Fixes #939.

 shell/help-overlay.ui | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/shell/help-overlay.ui b/shell/help-overlay.ui
index 02cb67932..14bbbe9f1 100644
--- a/shell/help-overlay.ui
+++ b/shell/help-overlay.ui
@@ -37,6 +37,15 @@
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
                 <property name="accelerator">&lt;Alt&gt;Left</property>
+                <property name="direction">GTK_TEXT_DIR_LTR</property>
+                <property name="title" translatable="yes" context="shortcut window">Go back to previous 
panel</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">&lt;Alt&gt;Right</property>
+                <property name="direction">GTK_TEXT_DIR_RTL</property>
                 <property name="title" translatable="yes" context="shortcut window">Go back to previous 
panel</property>
               </object>
             </child>


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