a11y: Emit active-descendants-changed when focus changes
This fixes the a11y/tree-relationships testcase.
The emission was lost in refactoring in commit
76670734f4
This commit is contained in:
@ -1926,6 +1926,14 @@ _gtk_tree_view_accessible_add_state (GtkTreeView *treeview,
|
||||
|
||||
if (cell != NULL)
|
||||
_gtk_cell_accessible_state_changed (cell, state, 0);
|
||||
|
||||
if (state == GTK_CELL_RENDERER_FOCUSED)
|
||||
{
|
||||
if (cell == NULL)
|
||||
cell = create_cell (treeview, accessible, tree, node, single_column);
|
||||
|
||||
g_signal_emit_by_name (accessible, "active-descendant-changed", cell);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user