Commit 3f00129e authored by Mike Gorse's avatar Mike Gorse

Fix Selectable state for gailButton

Only remove Selectable state from a GailButton if it is not Focusable (ie,
a TreeView column header); do not add Selectable for all focusable
buttons.  Fixes a bug introduced with the fix to 433324.
parent 5b4855d4
......@@ -889,9 +889,7 @@ gail_button_ref_state_set (AtkObject *obj)
atk_state_set_add_state (state_set, ATK_STATE_ARMED);
atk_state_set_add_state (state_set, ATK_STATE_SELECTABLE);
if (!GTK_WIDGET_CAN_FOCUS(widget))
atk_state_set_remove_state (state_set, ATK_STATE_SELECTABLE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment