aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-06 18:45:06 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-06 18:45:06 +0800
commit201f2eb86e81772a9979652c6371024b2da4c8f6 (patch)
treebe6d78869f479ee3b99fffd7afaf4afef7494ac9 /widgets/table/e-table-item.c
parent7c164f12b9ae13cd2f7e068b1b8626701ab8390f (diff)
downloadgsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.gz
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.zst
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.zip
Made rows get unselected when switching from one group to the next.
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. svn path=/trunk/; revision=2075
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c3
1 files changed, 3 insertions, 0 deletions
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;