[gnome-control-center] Fix a11y/keynav issues in screen panel



commit 5c41ffd60278f65331df4bffca8e192ee647cd6b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 15 14:02:02 2011 -0400

    Fix a11y/keynav issues in screen panel
    
    Setting mnemonics and mnemonic widgets also takes care
    of the LABELLED_BY/LABEL_FOR a11y relations.
    
    Part of bug 650132

 panels/screen/screen.ui |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/panels/screen/screen.ui b/panels/screen/screen.ui
index d1bd77b..6ed8a7d 100644
--- a/panels/screen/screen.ui
+++ b/panels/screen/screen.ui
@@ -145,7 +145,9 @@
                               <object class="GtkLabel" id="turn_off_after_label">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Turn off after:</property>
+                                <property name="label" translatable="yes">_Turn off after:</property>
+                                <property name="mnemonic_widget">screen_brightness_combobox</property>
+                                <property name="use_underline">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -235,7 +237,9 @@
                               <object class="GtkLabel" id="lock_screen_after_label">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Lock screen after:</property>
+                                <property name="label" translatable="yes">_Lock screen after:</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">screen_lock_combobox</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>



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