[accerciser/gnome-3-32] Fix some ui labelling



commit 96dc63404761c695aeb9d63a418324f31f8a9773
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Fri May 17 14:43:44 2019 +0200

    Fix some ui labelling
    
    (cherry picked from commit 8b9731aee7c60b74a4a7a3de277b5da291e004e3)

 plugins/interface_view.ui | 30 ++++++++++++++++++++++++------
 plugins/validate.ui       |  6 ------
 2 files changed, 24 insertions(+), 12 deletions(-)
---
diff --git a/plugins/interface_view.ui b/plugins/interface_view.ui
index 4f69bab..1071e4d 100644
--- a/plugins/interface_view.ui
+++ b/plugins/interface_view.ui
@@ -126,6 +126,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="label_acc_child count"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -181,6 +184,9 @@
                                     <attributes>
                                       <attribute name="style" value="italic"/>
                                     </attributes>
+                                    <accessibility>
+                                      <relation type="labelled-by" target="label58"/>
+                                    </accessibility>
                                   </object>
                                 </child>
                               </object>
@@ -194,6 +200,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="label_acc_desc"/>
+                                </accessibility>
                               </object>
                             </child>
                           </object>
@@ -233,7 +242,7 @@
                                             <property name="min_content_height">75</property>
                                             <child>
                                               <object class="GtkTreeView" id="states_view">
-                                                <property name="visible">True</property>
+                                                <property name="visible">False</property>
                                                 <property name="can_focus">True</property>
                                                 <property name="model">states_liststore</property>
                                                 <property name="headers_visible">False</property>
@@ -292,7 +301,7 @@
                                             <property name="min_content_height">75</property>
                                             <child>
                                               <object class="GtkTreeView" id="accattrib_view">
-                                                <property name="visible">True</property>
+                                                <property name="visible">False</property>
                                                 <property name="can_focus">True</property>
                                                 <property name="model">accattrib_liststore</property>
                                                 <property name="headers_visible">False</property>
@@ -383,7 +392,7 @@
                                         <property name="min_content_height">75</property>
                                         <child>
                                           <object class="GtkTreeView" id="relations_view">
-                                            <property name="visible">True</property>
+                                            <property name="visible">False</property>
                                             <property name="can_focus">True</property>
                                             <property name="model">relations_treestore</property>
                                             <property name="headers_visible">False</property>
@@ -2115,7 +2124,7 @@
                                                 <property name="xalign">0</property>
                                                 <signal name="clicked" handler="_onTableButtonClicked" 
swapped="no"/>
                                                 <accessibility>
-                                                  <relation type="labelled-by" target="label50"/>
+                                                  <relation type="labelled-by" target="label45"/>
                                                 </accessibility>
                                               </object>
                                               <packing>
@@ -2388,6 +2397,9 @@
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
+                                <accessibility>
+                                  <relation type="label-for" target="table_cell_button"/>
+                                </accessibility>
                               </object>
                             </child>
                           </object>
@@ -2627,6 +2639,9 @@
                                             <property name="can_focus">True</property>
                                             <property name="model">textattrib_liststore</property>
                                             <property name="headers_visible">False</property>
+                                            <accessibility>
+                                              <relation type="labelled-by" target="label8"/>
+                                            </accessibility>
                                             <child internal-child="selection">
                                               <object class="GtkTreeSelection" id="treeview-selection9"/>
                                             </child>
@@ -2670,6 +2685,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="label" translatable="yes">Attributes</property>
+                                <accessibility>
+                                  <relation type="label-for" target="treeview_text_attr"/>
+                                </accessibility>
                                 <attributes>
                                   <attribute name="weight" value="bold"/>
                                 </attributes>
@@ -2779,7 +2797,7 @@
                                 <property name="selectable">True</property>
                                 <property name="xalign">0</property>
                                 <accessibility>
-                                  <relation type="labelled-by" target="label35"/>
+                                  <relation type="labelled-by" target="label34"/>
                                 </accessibility>
                               </object>
                               <packing>
@@ -2798,7 +2816,7 @@
                                 <property name="selectable">True</property>
                                 <property name="xalign">0</property>
                                 <accessibility>
-                                  <relation type="labelled-by" target="label34"/>
+                                  <relation type="labelled-by" target="label35"/>
                                 </accessibility>
                               </object>
                               <packing>
diff --git a/plugins/validate.ui b/plugins/validate.ui
index 69e9a44..2f9b7b5 100644
--- a/plugins/validate.ui
+++ b/plugins/validate.ui
@@ -38,9 +38,6 @@
             <property name="label" translatable="yes">Sche_ma:</property>
             <property name="use_underline">True</property>
             <property name="mnemonic_widget">schema combo</property>
-            <accessibility>
-              <relation type="label-for" target="schema combo"/>
-            </accessibility>
           </object>
           <packing>
             <property name="expand">False</property>
@@ -51,9 +48,6 @@
         <child>
           <object class="GtkComboBox" id="schema combo">
             <property name="visible">True</property>
-            <accessibility>
-              <relation type="labelled-by" target="label1"/>
-            </accessibility>
           </object>
           <packing>
             <property name="position">1</property>


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