aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-27 23:34:58 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-27 23:34:58 +0800
commit46f952b2a5e95aa842ba4fed9e677fabed14b45b (patch)
treee78b5113e2564efa3b68b6e76b58228b84c7eba0 /widgets/table/e-table-selection-model.c
parenta25046c09190e6edf9780d3eb1aa476ffee07c68 (diff)
downloadgsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar.gz
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar.bz2
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar.lz
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar.xz
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.tar.zst
gsoc2013-evolution-46f952b2a5e95aa842ba4fed9e677fabed14b45b.zip
Added a comment.
2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added a comment. svn path=/trunk/; revision=4387
Diffstat (limited to 'widgets/table/e-table-selection-model.c')
-rw-r--r--widgets/table/e-table-selection-model.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c
index 71d420fd10..6dbba501a1 100644
--- a/widgets/table/e-table-selection-model.c
+++ b/widgets/table/e-table-selection-model.c
@@ -341,6 +341,7 @@ void e_table_selection_model_do_something (ETableSelectionModel
old_end = MAX (selection->selection_start_row, selection->cursor_row) + 1;
new_start = MIN (selection->selection_start_row, row);
new_end = MAX (selection->selection_start_row, row) + 1;
+ /* This wouldn't work nearly so smoothly if one end of the selection held in place. */
if (old_start < new_start)
change_selection(selection, old_start, new_start, FALSE);
if (new_start < old_start)