From ea469b6fc7fa5a173149a5c0d2725fb3d0aa48b2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 12 Dec 2000 02:47:42 +0000 Subject: Made selected rows ignore their color specification. 2000-12-11 Christopher James Lahey * e-cell-text.c (ect_draw): Made selected rows ignore their color specification. svn path=/trunk/; revision=6935 --- widgets/table/e-cell-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 30899383f3..83da75a530 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -483,7 +483,7 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable, cursor_color = foreground; - if (ect->color_column != -1) { + if (ect->color_column != -1 && ! selected) { color_spec = e_table_model_value_at (ecell_view->e_table_model, ect->color_column, row); cell_foreground = e_cell_text_get_color (text_view, -- cgit v1.2.3