Dropdown: Explicitly set a role
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Jun 2023 18:17:52 +0000 (14:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Jun 2023 18:17:52 +0000 (14:17 -0400)
For some reason I haven't been able to track down,
the listitemwidget comes up wit the abstract widget
role otherwise.

gtk/ui/gtkdropdown.ui

index 0dce79dfa533c9db8a910d14a8760bb111e8bdf7..807e8c7176f57f7a2fbd78a74c56228575707225 100644 (file)
@@ -32,7 +32,9 @@
                   <object class="GtkStackPage">
                     <property name="name">item</property>
                     <property name="child">
-                      <object class="GtkListItemWidget" id="button_item"/>
+                      <object class="GtkListItemWidget" id="button_item">
+                        <property name="accessible-role">generic</property>
+                      </object>
                     </property>
                   </object>
                 </child>