[evolution-patches] Patch for Bug #46842



Blue is a often used color in mail.
I don't understand why a comparison between text color and link color is necessary.

Best regards
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1832
diff -u -r1.1832 ChangeLog
--- ChangeLog	23 Jul 2003 21:23:11 -0000	1.1832
+++ ChangeLog	24 Jul 2003 03:01:12 -0000
@@ -1,3 +1,7 @@
+2003-07-24  Alex Jiang <alex jiang sun com>
+	* htmltext.c (get_tags): remove comparison between text color
+	and link color before saving. fix bug #46842
+
 2003-07-23  Larry Ewing  <lewing ximian com>
 
 	* htmlengine.c:  Rewrite the block stack and move most of the
Index: htmltext.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmltext.c,v
retrieving revision 1.201
diff -u -r1.201 htmltext.c
--- htmltext.c	23 Jul 2003 17:35:22 -0000	1.201
+++ htmltext.c	24 Jul 2003 03:01:12 -0000
@@ -103,9 +103,7 @@
 
 	/* font tag */
 	std_color = html_color_equal (text->color, html_colorset_get_color (state->engine->settings->color_set,
-									     HTMLTextColor))
-		|| html_color_equal (text->color,
-				      html_colorset_get_color (state->engine->settings->color_set, HTMLLinkColor));
+									     HTMLTextColor));
 	std_size = (font_style & GTK_HTML_FONT_STYLE_SIZE_MASK) == 0;
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]