[PATCH 05/11] Add accessibility information to the keyboard spoke.

Chris Lumens clumens at redhat.com
Mon Apr 7 18:03:07 UTC 2014


---
 pyanaconda/ui/gui/spokes/keyboard.glade | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/keyboard.glade b/pyanaconda/ui/gui/spokes/keyboard.glade
index c715b06..7ffcea7 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.glade
+++ b/pyanaconda/ui/gui/spokes/keyboard.glade
@@ -38,6 +38,11 @@
     <property name="default_height">450</property>
     <property name="type_hint">dialog</property>
     <property name="decorated">False</property>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="addLayoutDialog-atkobject">
+        <property name="AtkObject::accessible-name" translatable="yes">Add Layout</property>
+      </object>
+    </child>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="can_focus">False</property>
@@ -139,6 +144,11 @@
                     <property name="headers_visible">False</property>
                     <property name="headers_clickable">False</property>
                     <property name="enable_search">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="newLayoutView-atkobject">
+                        <property name="AtkObject::accessible-name" translatable="yes">Available Layouts</property>
+                      </object>
+                    </child>
                     <signal name="button-press-event" handler="on_layout_view_button_press" swapped="no"/>
                     <child internal-child="selection">
                       <object class="GtkTreeSelection" id="newLayoutSelection">
@@ -201,6 +211,11 @@
   <object class="AnacondaSpokeWindow" id="keyboardWindow">
     <property name="can_focus">False</property>
     <property name="window_name" translatable="yes">KEYBOARD LAYOUT</property>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="keyboardWindow-atkobject">
+        <property name="AtkObject::accessible-name" translatable="yes">KEYBOARD LAYOUT</property>
+      </object>
+    </child>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
@@ -331,6 +346,11 @@
                                 <property name="model">addedLayoutStore</property>
                                 <property name="headers_visible">False</property>
                                 <property name="search_column">0</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" id="layoutView-atkobject">
+                                    <property name="AtkObject::accessible-name" translatable="yes">Selected Layouts</property>
+                                  </object>
+                                </child>
                                 <child internal-child="selection">
                                   <object class="GtkTreeSelection" id="layoutSelection">
                                     <signal name="changed" handler="on_selection_changed" swapped="no"/>
@@ -574,6 +594,11 @@
     <property name="default_height">450</property>
     <property name="type_hint">dialog</property>
     <property name="decorated">False</property>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="switchingDialog-atkobject">
+        <property name="AtkObject::accessible-name" translatable="yes">Layout Options</property>
+      </object>
+    </child>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox2">
         <property name="can_focus">False</property>
-- 
1.8.3.1



More information about the anaconda-patches mailing list