aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2008-02-16 00:29:34 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-02-16 00:29:34 +0800
commitbd074ccac34cff054755f6a7240076d7bb3e3f43 (patch)
treed3713860c17254dcaddcf57efba62563dbf2206b /mail
parent955603e9e042691671b6b3f1478466c011629811 (diff)
downloadgsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar.gz
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar.bz2
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar.lz
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar.xz
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.tar.zst
gsoc2013-evolution-bd074ccac34cff054755f6a7240076d7bb3e3f43.zip
** Fix for bug #515659
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. svn path=/trunk/; revision=35018
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-format-html.c6
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1c343b56d2..6290492979 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2008-02-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #515054
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 138768cd67..a1faece46a 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -309,6 +309,12 @@ em_format_html_set_mark_citations(EMFormatHTML *emfh, int state, guint32 citatio
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);
}
}