From 314ca1477ca807dc1b082bf5cdf4e9328f6097c9 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 4 Apr 2001 13:24:01 +0000 Subject: Call cursor_activated as well. 2001-04-04 Christopher James Lahey * e-tree-selection-model.c (e_tree_selection_model_change_cursor): Call cursor_activated as well. svn path=/trunk/; revision=9176 --- widgets/table/e-tree-selection-model.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'widgets/table/e-tree-selection-model.c') diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c index 1854010fd7..30cbc5aa90 100644 --- a/widgets/table/e-tree-selection-model.c +++ b/widgets/table/e-tree-selection-model.c @@ -1091,9 +1091,14 @@ e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, ETreePath void e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path) { + int row; + etsm->priv->cursor_path = path; - e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), etsm_cursor_row_real(etsm), etsm->priv->cursor_col); + row = etsm_cursor_row_real(etsm); + + e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col); + e_selection_model_cursor_activated(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col); } -- cgit v1.2.3