From e70e3982edf25a75bd93bdaf9205cca1167a3d4c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 15 Jan 2004 01:22:55 +0000 Subject: ** See bugs #51609 and #43515. 2004-01-15 Not Zed ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230 --- mail/em-format-html.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/em-format-html.c') diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 96239fb925..44afe282d8 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1194,10 +1194,12 @@ static void efh_format_do(struct _mail_msg *mm) /* */ - if (((EMFormat *)m->format)->mode == EM_FORMAT_SOURCE) + if (((EMFormat *)m->format)->mode == EM_FORMAT_SOURCE) { em_format_format_source((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message); - else + } else { + em_format_format_prefix((EMFormat *)m->format, (CamelStream *)m->estream); em_format_format_message((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMedium *)m->message); + } camel_stream_write_string((CamelStream *)m->estream, "\n\n"); camel_stream_close((CamelStream *)m->estream); -- cgit v1.2.3