summaryrefslogtreecommitdiff
path: root/panels/keyboard/cc-keyboard-panel.ui
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-03-29 13:33:15 +0200
committerRobert Ancell <robert.ancell@canonical.com>2019-11-11 16:19:50 +1300
commit2e99dd4f5e7924ae99251659977c9d0abfb8159b (patch)
treea4704a0b560f9eea661ae32d083f058fc9164133 /panels/keyboard/cc-keyboard-panel.ui
parent3fe047828c88f4e1396bdd58370eafd063d1ff7d (diff)
downloadgnome-control-center-2e99dd4f5e7924ae99251659977c9d0abfb8159b.tar.gz
keyboard: Add "Alternate Characters Key" configuration
This adds an entry to select the "Level 3" selection key, which is usually Right Alt (or Alt-Gr on a majority of keyboards). Mockups at [1]. However, we replaced the "Left Ctrl" key option with a "Menu key" option, as "Left Ctrl" isn't a possible XKB option for the level3 key. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
Diffstat (limited to 'panels/keyboard/cc-keyboard-panel.ui')
-rw-r--r--panels/keyboard/cc-keyboard-panel.ui31
1 files changed, 31 insertions, 0 deletions
diff --git a/panels/keyboard/cc-keyboard-panel.ui b/panels/keyboard/cc-keyboard-panel.ui
index aad179e5c..af087b7ab 100644
--- a/panels/keyboard/cc-keyboard-panel.ui
+++ b/panels/keyboard/cc-keyboard-panel.ui
@@ -58,6 +58,37 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
+ <object class="GtkListBox" id="alternate_chars_listbox">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="selection-mode">none</property>
+ <property name="width-request">250</property>
+ <signal name="row-activated" handler="alternate_chars_activated" object="CcKeyboardPanel" swapped="no" />
+ <child>
+ <object class="HdyActionRow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="use-underline">true</property>
+ <property name="title" translatable="yes">Alternate Characters Key</property>
+ <property name="subtitle" translatable="yes">Hold down and type to enter different characters</property>
+ <child type="action">
+ <object class="GtkLabel" id="value_alternate_chars">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="no">Right Alt</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkFrame">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
<object class="GtkListBox" id="shortcuts_listbox">
<property name="visible">True</property>
<property name="can_focus">True</property>