stack: Update HIDDEN a11y state for stack pages

This will let us handle additions and removals
in the AT-SPI backend.
This commit is contained in:
Matthias Clasen 2020-10-24 22:04:26 -04:00
parent 7c106578ed
commit 9a943e21d3

View File

@ -1304,6 +1304,10 @@ update_child_visible (GtkStack *stack,
gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
priv->last_visible_child = NULL;
}
gtk_accessible_update_state (GTK_ACCESSIBLE (child_info),
GTK_ACCESSIBLE_STATE_HIDDEN, !visible,
-1);
}
static void