diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-09-28 06:30:49 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-09-28 06:30:49 +0800 |
commit | 6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d (patch) | |
tree | 5c3c9dc081d587fc9a6a339ef69bd05305232405 | |
parent | d2e7582cd4b08865a8bdec2fccc9dce21590f3ed (diff) | |
download | gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar.gz gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar.bz2 gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar.lz gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar.xz gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.tar.zst gsoc2013-evolution-6ae54a6e1fb9557bcf670b5ecfcccabf9f87869d.zip |
use the fg color array in style, not text color. Change requested by Chris
2002-09-27 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_get_cell_foreground_color): use the fg color
array in style, not text color. Change requested by Chris Lahey.
svn path=/trunk/; revision=18256
-rw-r--r-- | widgets/table/e-table-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 8b1349e666..391e6c4e20 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -291,9 +291,9 @@ eti_get_cell_foreground_color (ETableItem *eti, int row, int col, gboolean selec if (selected){ if (GTK_WIDGET_HAS_FOCUS (canvas)) - foreground = &canvas->style->text [GTK_STATE_SELECTED]; + foreground = &canvas->style->fg [GTK_STATE_SELECTED]; else - foreground = &canvas->style->text [GTK_STATE_ACTIVE]; + foreground = &canvas->style->fg [GTK_STATE_ACTIVE]; } else { foreground = &canvas->style->text [GTK_STATE_NORMAL]; } |