aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-08 12:30:38 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-08-08 12:30:38 +0800
commit6f4d79f29e740f804e1e4e64ea349312cfff2bed (patch)
tree31389a6959ea4251adc4078f7559c8d59a50079f /mail
parent014c12685671c5646b67742acd086d55074402ba (diff)
downloadgsoc2013-evolution-6f4d79f29e740f804e1e4e64ea349312cfff2bed.tar.gz
gsoc2013-evolution-6f4d79f29e740f804e1e4e64ea349312cfff2bed.tar.zst
gsoc2013-evolution-6f4d79f29e740f804e1e4e64ea349312cfff2bed.zip
** See bug #312397.
2005-08-05 Not Zed <NotZed@Ximian.com> ** See bug #312397. * em-format-quote.c (emfq_format_message): if we are rendering an attached message, include the headers always and a marker for it. svn path=/trunk/; revision=30026
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-format-quote.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 8e7fce11d5..4385a2db7a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-05 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #312397.
+
+ * em-format-quote.c (emfq_format_message): if we are rendering an
+ attached message, include the headers always and a marker for it.
+
2005-08-07 Rodney Dawes <dobey@novell.com>
* em-folder-browser.c (emfb_search_items):
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c
index 90751ee48f..87f9fb96fc 100644
--- a/mail/em-format-quote.c
+++ b/mail/em-format-quote.c
@@ -384,8 +384,11 @@ emfq_format_message(EMFormat *emf, CamelStream *stream, CamelMimePart *part, con
"<blockquote type=cite>\n"
"<font color=\"#%06x\">\n",
emfq->citation_colour & 0xffffff);
-
- if (emfq->flags & EM_FORMAT_QUOTE_HEADERS)
+
+ if (((CamelMimePart *)emf->message) != part) {
+ camel_stream_printf(stream, "%s</br>\n", _("-------- Forwarded Message --------"));
+ emfq_format_headers (emfq, stream, (CamelMedium *)part);
+ } else if (emfq->flags & EM_FORMAT_QUOTE_HEADERS)
emfq_format_headers (emfq, stream, (CamelMedium *)part);
em_format_part (emf, stream, part);