aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-selection-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-tree-selection-model.c')
-rw-r--r--widgets/table/e-tree-selection-model.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c
index b57efb5e11..d8eeb3f083 100644
--- a/widgets/table/e-tree-selection-model.c
+++ b/widgets/table/e-tree-selection-model.c
@@ -1075,6 +1075,14 @@ e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, ETreePath
e_selection_model_selection_changed(E_SELECTION_MODEL(etsm));
}
+void
+e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path)
+{
+ etsm->priv->cursor_path = path;
+
+ e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), etsm_cursor_row_real(etsm), etsm->priv->cursor_col);
+}
+
static void
e_tree_selection_model_init (ETreeSelectionModel *etsm)