aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
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')
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table-selection-model.c1
-rw-r--r--widgets/table/e-table-selection-model.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 6ac62565bd..d0572c5d13 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,5 +1,9 @@
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
+ * e-table-selection-model.c: Added a comment.
+
+2000-07-27 Christopher James Lahey <clahey@helixcode.com>
+
* e-table-selection-model.c: Fixed shift click selections.
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
diff --git a/widgets/e-table/e-table-selection-model.c b/widgets/e-table/e-table-selection-model.c
index 71d420fd10..6dbba501a1 100644
--- a/widgets/e-table/e-table-selection-model.c
+++ b/widgets/e-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)
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)