summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Riemann <friemann@gnome.org>2020-12-20 16:17:34 +0100
committerRobert Ancell <robert.ancell@gmail.com>2021-02-01 03:41:33 +0000
commitc6bde9770d623b8d0f7d0937a4d4e86436e364b1 (patch)
tree3888a21efbd58d3eef7c53c9c39b377878504d55
parent1decf825c1c3f945aa2ba3c0534258947e25c9a4 (diff)
downloadgnome-control-center-c6bde9770d623b8d0f7d0937a4d4e86436e364b1.tar.gz
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.
-rw-r--r--shell/help-overlay.ui9
1 files changed, 9 insertions, 0 deletions
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>