diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-01-28 15:59:58 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-01-28 15:59:58 +0800 |
commit | 463b4b5850bf7845dd154d469791f8d3ca1be4cb (patch) | |
tree | 37e69306d1c4bd1a381aef27b3cad3cf330c4e5d /widgets/table/e-table-item.c | |
parent | f36b322a7e1299ad159ff004cb5ab57628740a8a (diff) | |
download | gsoc2013-evolution-463b4b5850bf7845dd154d469791f8d3ca1be4cb.tar.gz gsoc2013-evolution-463b4b5850bf7845dd154d469791f8d3ca1be4cb.tar.zst gsoc2013-evolution-463b4b5850bf7845dd154d469791f8d3ca1be4cb.zip |
Fix some gradient issues.
2008-01-28 Srinivasa Ragavan <sragavan@novell.com>
* e-table-item.c: (eti_draw): Fix some gradient issues.
svn path=/trunk/; revision=34914
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 75dfce7ce7..62cfd3146b 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1985,10 +1985,10 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width, cairo_pattern_add_color_stop_rgba (pat, 0.0, background->red/65535.0 , background->green/65535.0, background->blue/65535.0, selected ? 0.8: 1.0); - - cairo_pattern_add_color_stop_rgba (pat, 0.5, background->red/65535.0 , - background->green/65535.0, - background->blue/65535.0, 0.9); + if (selected) + cairo_pattern_add_color_stop_rgba (pat, 0.5, background->red/65535.0 , + background->green/65535.0, + background->blue/65535.0, 0.9); cairo_pattern_add_color_stop_rgba (pat, 1, background->red/65535.0 , background->green/65535.0, |