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



commit 4afbbe7265ff6e3ee420b887da70ffc7544fad59
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 15 15:07:16 2011 -0400

    Fix a11y/keynav issues in the datetime panel
    
    Add mnemonics to all controls that have labels.
    Possible further improvements: set a11y descriptions for the
    unlabeled controls (the time and date controls, mostly). The map
    widget is lacking keynav altogether.
    
    Part of bug 650132

 panels/datetime/datetime.ui |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/panels/datetime/datetime.ui b/panels/datetime/datetime.ui
index fea43b0..0ed5ae8 100644
--- a/panels/datetime/datetime.ui
+++ b/panels/datetime/datetime.ui
@@ -44,7 +44,9 @@
                           <object class="GtkLabel" id="label1">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">Region:</property>
+                            <property name="label" translatable="yes">_Region:</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">region_combobox</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -70,7 +72,9 @@
                           <object class="GtkLabel" id="label4">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">City:</property>
+                            <property name="label" translatable="yes">_City:</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">city_combobox</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -116,7 +120,9 @@
                           <object class="GtkLabel" id="label3">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">Network Time</property>
+                            <property name="label" translatable="yes">_Network Time</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">network_time_switch</property>
                           </object>
                           <packing>
                             <property name="position">1</property>
@@ -345,7 +351,9 @@
                           <object class="GtkLabel" id="label33">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">24-Hour Time</property>
+                            <property name="label" translatable="yes">24-_Hour Time</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">24h_time_switch</property>
                           </object>
                           <packing>
                             <property name="position">1</property>



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