aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)