[libadwaita/libadwaita-1-0] preferences-group: Label the listbox, not the box



commit 2dddc1df9299ad650109f0a0007250101826ad52
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Fri Jun 17 10:34:28 2022 +0200

    preferences-group: Label the listbox, not the box
    
    That stops Orca announcing GtkListBox for every of these lists.
    
    
    (cherry picked from commit 3df2638ac1c91df741a72f372f11699a3d9b717b)
    
    (cherry picked from commit 5138a873e8b67fef49d32e5dfd3796cd3e8474ca)

 src/adw-preferences-group.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-preferences-group.ui b/src/adw-preferences-group.ui
index 78c9e66c..d1da16c4 100644
--- a/src/adw-preferences-group.ui
+++ b/src/adw-preferences-group.ui
@@ -35,13 +35,13 @@
         <child>
           <object class="GtkBox" id="listbox_box">
             <property name="orientation">vertical</property>
-            <accessibility>
-              <relation name="labelled-by">title</relation>
-            </accessibility>
             <child>
               <object class="GtkListBox" id="listbox">
                 <property name="visible">False</property>
                 <property name="selection_mode">none</property>
+                <accessibility>
+                  <relation name="labelled-by">title</relation>
+                </accessibility>
                 <signal name="keynav-failed" handler="listbox_keynav_failed_cb" swapped="yes"/>
                 <style>
                   <class name="boxed-list"/>


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