]> Pileus Git - ~andy/gtk/commitdiff
a11y: Readd FOCUSABLE state
authorBenjamin Otte <otte@redhat.com>
Mon, 12 Dec 2011 06:17:02 +0000 (07:17 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Dec 2011 03:53:13 +0000 (04:53 +0100)
The state was lost in commit 08d86fabc4237092bf04a97795498f2c45575085.

Also order the states that are always set alphabetically.

gtk/a11y/gtkcellaccessible.c

index d24dd435bb8564f380d7939727327af2b8a8edca..e63a890084e00ce364d9ba7ce9f35b906d5fd226 100644 (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++)