a11y: Readd FOCUSABLE state

The state was lost in commit 08d86fabc4.

Also order the states that are always set alphabetically.
This commit is contained in:
Benjamin Otte 2011-12-12 07:17:02 +01:00
parent 0ef6771bcc
commit ff80ae16d9

View File

@ -137,8 +137,9 @@ gtk_cell_accessible_ref_state_set (AtkObject *accessible)
flags = _gtk_cell_accessible_get_state (cell_accessible);
atk_state_set_add_state (state_set, ATK_STATE_TRANSIENT);
atk_state_set_add_state (state_set, ATK_STATE_FOCUSABLE);
atk_state_set_add_state (state_set, ATK_STATE_SELECTABLE);
atk_state_set_add_state (state_set, ATK_STATE_TRANSIENT);
atk_state_set_add_state (state_set, ATK_STATE_VISIBLE);
for (i = 0; i < G_N_ELEMENTS (state_map); i++)