aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-selection-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-04 18:17:37 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-04 18:17:37 +0800
commit061419e7f27f057c624b8a272c29733ae512f219 (patch)
tree6c58862f04da4c92beb4e3ffd2f811cbc8f1d4c3 /widgets/table/e-tree-selection-model.c
parent115406e1e21fc378219700bac803102b317c6c4b (diff)
downloadgsoc2013-evolution-061419e7f27f057c624b8a272c29733ae512f219.tar.gz
gsoc2013-evolution-061419e7f27f057c624b8a272c29733ae512f219.tar.zst
gsoc2013-evolution-061419e7f27f057c624b8a272c29733ae512f219.zip
Added this function.
2001-04-04 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c, e-tree-selection-model.h (e_tree_selection_model_change_cursor): Added this function. * e-tree.c (e_tree_set_cursor): Screwed up moving the cursor a small bit when I changed this to be faster before. Fixed it. svn path=/trunk/; revision=9171
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)