From 46f952b2a5e95aa842ba4fed9e677fabed14b45b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 27 Jul 2000 15:34:58 +0000 Subject: Added a comment. 2000-07-27 Christopher James Lahey * e-table-selection-model.c: Added a comment. svn path=/trunk/; revision=4387 --- widgets/e-table/ChangeLog | 4 ++++ widgets/e-table/e-table-selection-model.c | 1 + widgets/table/e-table-selection-model.c | 1 + 3 files changed, 6 insertions(+) (limited to 'widgets') 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,3 +1,7 @@ +2000-07-27 Christopher James Lahey + + * e-table-selection-model.c: Added a comment. + 2000-07-27 Christopher James Lahey * e-table-selection-model.c: Fixed shift click selections. 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) -- cgit v1.2.3