forked from AuroraMiddleware/gtk
treeview: Tell accessible about focus column changes
This commit is contained in:
parent
f33fe5b677
commit
a4559f1e19
@ -2080,6 +2080,13 @@ _gtk_tree_view_accessible_toggle_visibility (GtkTreeView *treeview,
|
||||
id);
|
||||
}
|
||||
|
||||
void
|
||||
_gtk_tree_view_accessible_update_focus_column (GtkTreeView *treeview,
|
||||
GtkTreeViewColumn *old_focus,
|
||||
GtkTreeViewColumn *new_focus)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
_gtk_tree_view_accessible_add_state (GtkTreeView *treeview,
|
||||
GtkRBTree *tree,
|
||||
|
@ -74,6 +74,10 @@ void _gtk_tree_view_accessible_reorder_column(GtkTreeView *tree
|
||||
void _gtk_tree_view_accessible_toggle_visibility
|
||||
(GtkTreeView *treeview,
|
||||
GtkTreeViewColumn *column);
|
||||
void _gtk_tree_view_accessible_update_focus_column
|
||||
(GtkTreeView *treeview,
|
||||
GtkTreeViewColumn *old_focus,
|
||||
GtkTreeViewColumn *new_focus);
|
||||
|
||||
void _gtk_tree_view_accessible_add_state (GtkTreeView *treeview,
|
||||
GtkRBTree *tree,
|
||||
|
@ -10019,7 +10019,16 @@ void
|
||||
_gtk_tree_view_set_focus_column (GtkTreeView *tree_view,
|
||||
GtkTreeViewColumn *column)
|
||||
{
|
||||
GtkTreeViewColumn *old_column = tree_view->priv->focus_column;
|
||||
|
||||
if (old_column == column)
|
||||
return;
|
||||
|
||||
tree_view->priv->focus_column = column;
|
||||
|
||||
_gtk_tree_view_accessible_update_focus_column (tree_view,
|
||||
old_column,
|
||||
column);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user