aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table-item.c3
-rw-r--r--widgets/table/e-table-item.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 5dad172bcb..26f77cae2f 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,5 +1,10 @@
2000-03-06 Christopher James Lahey <clahey@helixcode.com>
+ * e-table-item.c: Made rows get unselected when switching from one
+ group to the next.
+
+2000-03-06 Christopher James Lahey <clahey@helixcode.com>
+
* e-table-group-container.c: Use the style's font if lucidasans-10
is not found.
diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c
index a38b6affac..1b2a4d884d 100644
--- a/widgets/e-table/e-table-item.c
+++ b/widgets/e-table/e-table-item.c
@@ -1224,6 +1224,9 @@ e_table_item_unfocus (ETableItem *eti)
const int row = eti->focused_row;
eti_request_region_redraw (eti, col, row, col, row, FOCUSED_BORDER);
+ while ( eti->selection ) {
+ e_table_item_unselect_row (eti, GPOINTER_TO_INT(eti->selection->data));
+ }
}
eti->focused_col = -1;
eti->focused_row = -1;
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index a38b6affac..1b2a4d884d 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1224,6 +1224,9 @@ e_table_item_unfocus (ETableItem *eti)
const int row = eti->focused_row;
eti_request_region_redraw (eti, col, row, col, row, FOCUSED_BORDER);
+ while ( eti->selection ) {
+ e_table_item_unselect_row (eti, GPOINTER_TO_INT(eti->selection->data));
+ }
}
eti->focused_col = -1;
eti->focused_row = -1;