aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-quote.c
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/em-format-quote.c
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/em-format-quote.c')
-rw-r--r--mail/em-format-quote.c7
1 files changed, 5 insertions, 2 deletions
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);