aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-selection-model.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-06-28 05:11:34 +0800
committerPeter Williams <peterw@src.gnome.org>2001-06-28 05:11:34 +0800
commit6fa46ef11d80a615733338bfe1f76acaef5eab48 (patch)
tree4bd3d8d04537d46a2163d5bf9f45b9e92d398483 /widgets/table/e-tree-selection-model.c
parent780e047c0471ed396ac6ac7f2534fa81034a581f (diff)
downloadgsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar.gz
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar.bz2
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar.lz
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar.xz
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.tar.zst
gsoc2013-evolution-6fa46ef11d80a615733338bfe1f76acaef5eab48.zip
Bump version number due to incompatible changes in ETree.
2001-06-27 Peter Williams <peterw@ximian.com> * configure.in: Bump version number due to incompatible changes in ETree. gal/e-table: 2001-06-27 Peter Williams <peterw@ximian.com> * e-tree-selection-model.c (e_tree_selection_model_add_to_selection): New function, heavily based on select_single_row. * e-tree-selection-model.h: Added prototype; * e-tree.c (e_tree_get_model): New accessor function. (e_tree_get_selection_model): Same. (e_tree_selected_count, e_tree_select_all, e_tree_invert_select): Removed. With the accessors these become pointless. * e-tree.h: Prototype the functions above. Remove a few functions that don't make sense anymore. svn path=/trunk/; revision=10543
Diffstat (limited to 'widgets/table/e-tree-selection-model.c')
-rw-r--r--widgets/table/e-tree-selection-model.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c
index 4c8a45c92d..375003f35d 100644
--- a/widgets/table/e-tree-selection-model.c
+++ b/widgets/table/e-tree-selection-model.c
@@ -1137,6 +1137,15 @@ e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, ETreePath
}
void
+e_tree_selection_model_add_to_selection (ETreeSelectionModel *etsm, ETreePath path)
+{
+ etsm_change_one_path(etsm, path, TRUE);
+ etsm->priv->selection_start_path = path;
+
+ e_selection_model_selection_changed(E_SELECTION_MODEL(etsm));
+}
+
+void
e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path)
{
int row;