diff options
author | Felix Riemann <friemann@gnome.org> | 2020-12-20 16:17:34 +0100 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2021-02-01 03:41:33 +0000 |
commit | c6bde9770d623b8d0f7d0937a4d4e86436e364b1 (patch) | |
tree | 3888a21efbd58d3eef7c53c9c39b377878504d55 | |
parent | 1decf825c1c3f945aa2ba3c0534258947e25c9a4 (diff) | |
download | gnome-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.ui | 9 |
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"><Alt>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"><Alt>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> |