diff options
author | Lukáš Tyrychtr <ltyrycht@redhat.com> | 2023-03-06 17:15:54 +0100 |
---|---|---|
committer | Lukáš Tyrychtr <ltyrycht@redhat.com> | 2023-03-06 17:15:54 +0100 |
commit | b669295fd81aaaefa91af31b046cb54ebda3bf68 (patch) | |
tree | 1549f8860cc16898ad9e93b2a43993875ae74f82 /gtk/a11y | |
parent | cfc2de4e3d93ef2bcad1f567eef4b430c9244549 (diff) | |
download | gtk+-b669295fd81aaaefa91af31b046cb54ebda3bf68.tar.gz |
a11y: When an accessible has GTK_STATE_CHECKED, set its ATSPI_STATE_CHECKABLE as well
This allows, for example, checkable list itemss.
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkatspicontext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c index dca263902e..d7eede4429 100644 --- a/gtk/a11y/gtkatspicontext.c +++ b/gtk/a11y/gtkatspicontext.c @@ -203,6 +203,7 @@ collect_states (GtkAtSpiContext *self, if (gtk_at_context_has_accessible_state (ctx, GTK_ACCESSIBLE_STATE_CHECKED)) { + set_atspi_state (&states, ATSPI_STATE_CHECKABLE); value = gtk_at_context_get_accessible_state (ctx, GTK_ACCESSIBLE_STATE_CHECKED); switch (gtk_tristate_accessible_value_get (value)) { |