[gtk+] Add missing AtkRelations for labelled containers in the print dialog



commit 8a556a3a6154691743aab5f8923f65a8edf307a8
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 24 18:19:40 2014 -0400

    Add missing AtkRelations for labelled containers in the print dialog
    
    These AtkRelation types are added automatically for widgets with a label
    specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label,
    and gtk_frame_set_label_widget). When such specification is absent, the
    accessible relationship must be manually set.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726996

 gtk/resources/ui/gtkprintunixdialog.ui |   42 ++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/ui/gtkprintunixdialog.ui b/gtk/resources/ui/gtkprintunixdialog.ui
index ebbf4e2..cb4c07b 100644
--- a/gtk/resources/ui/gtkprintunixdialog.ui
+++ b/gtk/resources/ui/gtkprintunixdialog.ui
@@ -201,6 +201,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="range_table"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -318,6 +321,9 @@
                                     <property name="height">1</property>
                                   </packing>
                                 </child>
+                                <accessibility>
+                                  <relation type="labelled-by" target="label_widget1"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -348,6 +354,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="grid1"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -447,6 +456,9 @@
                                     <property name="height">2</property>
                                   </packing>
                                 </child>
+                                <accessibility>
+                                  <relation type="labelled-by" target="label_widget2"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -508,6 +520,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="grid2"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -720,6 +735,9 @@
                                     <property name="height">1</property>
                                   </packing>
                                 </child>
+                                <accessibility>
+                                  <relation type="labelled-by" target="label_widget3"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -750,6 +768,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="grid3"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -938,6 +959,9 @@
                                     <property name="height">1</property>
                                   </packing>
                                 </child>
+                                <accessibility>
+                                  <relation type="labelled-by" target="label_widget4"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -1023,6 +1047,9 @@
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
+                            <accessibility>
+                              <relation type="label-for" target="grid5"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -1101,6 +1128,9 @@
                                 <property name="height">1</property>
                               </packing>
                             </child>
+                            <accessibility>
+                              <relation type="labelled-by" target="label_widget5"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -1132,6 +1162,9 @@
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
+                            <accessibility>
+                              <relation type="label-for" target="grid6"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -1240,6 +1273,9 @@
                                 <property name="height">1</property>
                               </packing>
                             </child>
+                            <accessibility>
+                              <relation type="labelled-by" target="label_widget6"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -1271,6 +1307,9 @@
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
+                            <accessibility>
+                              <relation type="label-for" target="grid7"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -1349,6 +1388,9 @@
                                 <property name="height">1</property>
                               </packing>
                             </child>
+                            <accessibility>
+                              <relation type="labelled-by" target="label_widget7"/>
+                            </accessibility>
                           </object>
                           <packing>
                             <property name="expand">False</property>


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