mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
atspi: Treat all entries the same for collecting state
We are determining editable state based on the accessible role (although we could make it platform state now), so cover all the roles that we use for entry wrappers.
This commit is contained in:
parent
61474b5a94
commit
5eb482ebaa
@ -125,7 +125,8 @@ collect_states (GtkAtSpiContext *self,
|
||||
set_atspi_state (&states, ATSPI_STATE_VISIBLE);
|
||||
|
||||
if (ctx->accessible_role == GTK_ACCESSIBLE_ROLE_TEXT_BOX ||
|
||||
ctx->accessible_role == GTK_ACCESSIBLE_ROLE_SEARCH_BOX)
|
||||
ctx->accessible_role == GTK_ACCESSIBLE_ROLE_SEARCH_BOX ||
|
||||
ctx->accessible_role == GTK_ACCESSIBLE_ROLE_SPIN_BUTTON)
|
||||
set_atspi_state (&states, ATSPI_STATE_EDITABLE);
|
||||
|
||||
if (gtk_at_context_has_accessible_property (ctx, GTK_ACCESSIBLE_PROPERTY_READ_ONLY))
|
||||
|
Loading…
Reference in New Issue
Block a user