evolution r34914 - trunk/widgets/table
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34914 - trunk/widgets/table
- Date: Mon, 28 Jan 2008 07:59:58 +0000 (GMT)
Author: sragavan
Date: Mon Jan 28 07:59:58 2008
New Revision: 34914
URL: http://svn.gnome.org/viewvc/evolution?rev=34914&view=rev
Log:
2008-01-28 Srinivasa Ragavan <sragavan novell com>
* e-table-item.c: (eti_draw): Fix some gradient issues.
Modified:
trunk/widgets/table/ChangeLog
trunk/widgets/table/e-table-item.c
Modified: trunk/widgets/table/e-table-item.c
==============================================================================
--- trunk/widgets/table/e-table-item.c (original)
+++ trunk/widgets/table/e-table-item.c Mon Jan 28 07:59:58 2008
@@ -1985,10 +1985,10 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]