dropdown: Use presentation instead of none
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 12:23:30 +0000 (08:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 12:28:54 +0000 (08:28 -0400)
gtk/gtkdropdown.c
gtk/ui/gtkdropdown.ui

index 8f81f1a2595baf3938e0d6896cd91fbb890492b4..2499c806a154dadb5a3f56296a7c4708cee31333 100644 (file)
@@ -701,7 +701,7 @@ setup_item (GtkSignalListItemFactory *factory,
   gtk_box_append (GTK_BOX (box), label);
   icon = g_object_new (GTK_TYPE_IMAGE,
                        "icon-name", "object-select-symbolic",
-                       "accessible-role", GTK_ACCESSIBLE_ROLE_NONE,
+                       "accessible-role", GTK_ACCESSIBLE_ROLE_PRESENTATION,
                        NULL);
   gtk_box_append (GTK_BOX (box), icon);
   gtk_list_item_set_child (list_item, box);
index b0eac8bd6dcc080fd746c34b80951a02e3842883..0dce79dfa533c9db8a910d14a8760bb111e8bdf7 100644 (file)
@@ -40,7 +40,7 @@
             </child>
             <child>
               <object class="GtkBuiltinIcon" id="arrow">
-                <property name="accessible-role">none</property>
+                <property name="accessible-role">presentation</property>
                 <property name="css-name">arrow</property>
               </object>
             </child>