From 3a49f0f1e4e4a89ef6c5ad42090fe89d37c319ad Mon Sep 17 00:00:00 2001 From: Nick Sukharev Date: Fri, 29 Sep 2006 17:56:45 +0000 Subject: UUEncoded calendars will be displayed as calendars, not as plain text. 2006-09-29 Nick Sukharev * mail/em-format-html.c: UUEncoded calendars will be displayed as calendars, not as plain text. Fixes bug #352767. (committed by Andre Klapper) svn path=/trunk/; revision=32832 --- mail/ChangeLog | 6 ++++++ mail/em-format-html.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index f927ea1863..6ed6ab35c7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2006-09-29 Nick Sukharev + + * mail/em-format-html.c: UUEncoded calendars will be displayed as + calendars, not as plain text. Fixes bug #352767. + (committed by Andre Klapper) + 2006-09-29 Srinivasa Ragavan ** Fix for bug #341932 Patch from Roozbeh Pournader diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 07050b31e5..8c0cb16e97 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -762,7 +762,7 @@ efh_text_plain(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFo CamelMimePart *newpart = camel_multipart_get_part(mp, i); type = camel_mime_part_get_content_type(newpart); - if (camel_content_type_is (type, "text", "*")) { + if (camel_content_type_is (type, "text", "*") && !camel_content_type_is(type, "text", "calendar")) { camel_stream_printf (stream, "
\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); -- cgit v1.2.3