evolution r35018 - trunk/mail



Author: mcrha
Date: Fri Feb 15 16:29:34 2008
New Revision: 35018
URL: http://svn.gnome.org/viewvc/evolution?rev=35018&view=rev

Log:
2008-02-15  Paul Bolle  <pebolle tiscali nl>

	** Fix for bug #515659

	* em-format-html.c: (em_format_html_set_mark_citations):
	Keep mark_citations and the CAMEL_MIME_FILTER_TOHTML_MARK_CITATION
	flag (part of text_html_flags) in sync.



Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-format-html.c

Modified: trunk/mail/em-format-html.c
==============================================================================
--- trunk/mail/em-format-html.c	(original)
+++ trunk/mail/em-format-html.c	Fri Feb 15 16:29:34 2008
@@ -309,6 +309,12 @@
 	if (emfh->mark_citations ^ state || emfh->citation_colour != citation_colour) {
 		emfh->mark_citations = state;
 		emfh->citation_colour = citation_colour;
+
+		if (state)
+			emfh->text_html_flags |= CAMEL_MIME_FILTER_TOHTML_MARK_CITATION;
+		else
+			emfh->text_html_flags &= ~CAMEL_MIME_FILTER_TOHTML_MARK_CITATION;
+
 		em_format_redraw((EMFormat *)emfh);
 	}
 }



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