evolution r34867 - trunk/widgets/table
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34867 - trunk/widgets/table
- Date: Tue, 22 Jan 2008 19:34:23 +0000 (GMT)
Author: mcrha
Date: Tue Jan 22 19:34:23 2008
New Revision: 34867
URL: http://svn.gnome.org/viewvc/evolution?rev=34867&view=rev
Log:
2008-01-22 Milan Crha <mcrha redhat com>
** Fix for bug #511094
* e-cell-text.c: (ect_draw): Set proper foreground color based
on focused/non-focused canvas.
Modified:
trunk/widgets/table/ChangeLog
trunk/widgets/table/e-cell-text.c
Modified: trunk/widgets/table/e-cell-text.c
==============================================================================
--- trunk/widgets/table/e-cell-text.c (original)
+++ trunk/widgets/table/e-cell-text.c Tue Jan 22 19:34:23 2008
@@ -741,7 +741,10 @@
selected = flags & E_CELL_SELECTED;
if (selected) {
+ if (GTK_WIDGET_HAS_FOCUS (canvas))
foreground = &canvas->style->fg [GTK_STATE_SELECTED];
+ else
+ foreground = &canvas->style->fg [GTK_STATE_ACTIVE];
} else {
foreground = &canvas->style->text [GTK_STATE_NORMAL];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]