Merge branch 'ebassi/issue-3892' into 'master'

a11y: Update the level property for tree expanders

Closes #3892

See merge request GNOME/gtk!3470
This commit is contained in:
Matthias Clasen 2021-06-07 18:10:12 +00:00
commit 825ffb9422

View File

@ -239,6 +239,11 @@ gtk_tree_expander_update_for_list_row (GtkTreeExpander *self)
}
}
/* The level property is >= 1 */
gtk_accessible_update_property (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_PROPERTY_LEVEL, depth + 1,
-1);
while (child)
{
GtkWidget *prev = gtk_widget_get_prev_sibling (child);