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.
70 lines
3 KiB
XML
70 lines
3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.17 -->
|
|
|
|
<object class="GtkShortcutsWindow" id="help_overlay">
|
|
<property name="modal">1</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="visible">1</property>
|
|
<property name="section-name">shortcuts</property>
|
|
<property name="max-height">10</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes" context="shortcut window">General</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>Q</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>S</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Search</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Panels</property>
|
|
<child>
|
|
<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>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Search</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator">Escape</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Cancel search</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|