aboutsummaryrefslogtreecommitdiffstats
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
parent7c164f12b9ae13cd2f7e068b1b8626701ab8390f (diff)
downloadgsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.gz
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.bz2
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.lz
gsoc2013-evolution-201f2eb86e81772a9979652c6371024b2da4c8f6.tar.xz
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
-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;