r21642 - gnucash/branches/2.4/src/html - Fix setting of line color for line charts.

Mike Evans mikee at code.gnucash.org
Tue Nov 29 14:08:11 EST 2011


Author: mikee
Date: 2011-11-29 14:08:11 -0500 (Tue, 29 Nov 2011)
New Revision: 21642
Trac: http://svn.gnucash.org/trac/changeset/21642

Modified:
   gnucash/branches/2.4/src/html/gnc-html-graph-gog.c
Log:
Fix setting of line color for line charts.

Modified: gnucash/branches/2.4/src/html/gnc-html-graph-gog.c
===================================================================
--- gnucash/branches/2.4/src/html/gnc-html-graph-gog.c	2011-11-29 19:08:06 UTC (rev 21641)
+++ gnucash/branches/2.4/src/html/gnc-html-graph-gog.c	2011-11-29 19:08:11 UTC (rev 21642)
@@ -413,8 +413,9 @@
             style->fill.type = GO_STYLE_FILL_PATTERN;
             if ( gdk_color_parse( info->col_colors[i], &color ) )
             {
-                style->fill.auto_back = FALSE;
-                go_pattern_set_solid( &style->fill.pattern, GO_COLOR_FROM_GDK(color) );
+		style->line.width = 1;
+		style->line.auto_color = FALSE;
+		style->line.color = GO_COLOR_FROM_GDK(color);
             }
             else
             {



More information about the gnucash-changes mailing list