aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-selection-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-01-31 16:38:03 +0800
committerChris Lahey <clahey@src.gnome.org>2002-01-31 16:38:03 +0800
commit6d22aa7bd1818288f4428398d1268102f615c5c7 (patch)
tree9eb7fc1ba4a567d4184080e5b7f877d831261356 /widgets/table/e-tree-selection-model.c
parente2defdb06fc9bf7a73bb5ec0d4abcfd2c71a658d (diff)
downloadgsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar.gz
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar.bz2
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar.lz
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar.xz
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.tar.zst
gsoc2013-evolution-6d22aa7bd1818288f4428398d1268102f615c5c7.zip
Added this simple accessor function.
2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c, e-tree-selection-model.h (e_tree_selection_model_get_cursor): Added this simple accessor function. * e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor given the search parameters and moves the cursor if it ever matches. svn path=/trunk/; revision=15537
Diffstat (limited to 'widgets/table/e-tree-selection-model.c')
-rw-r--r--widgets/table/e-tree-selection-model.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c
index 04e74c0f96..49835f847a 100644
--- a/widgets/table/e-tree-selection-model.c
+++ b/widgets/table/e-tree-selection-model.c
@@ -1294,6 +1294,12 @@ e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path)
e_selection_model_cursor_activated(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col);
}
+ETreePath
+e_tree_selection_model_get_cursor (ETreeSelectionModel *etsm)
+{
+ return etsm->priv->cursor_path;
+}
+
static void
e_tree_selection_model_init (ETreeSelectionModel *etsm)