UUEncoded calendars fix
Nick Sukharev <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
UUEncoded calendars are now displayed as plain text. Most versions of Microsoft Exchange send them in this format, if the web client is used to send the email. Attached is a simple patch for this. Could you please review and apply? _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
uue.calendar.patch
(text/x-patch, 1.4 KB)
Index: evolution/ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/ChangeLog,v retrieving revision 1.1578 diff -u -r1.1578 ChangeLog --- evolution/ChangeLog 13 Mar 2006 23:45:29 -0000 1.1578 +++ evolution/ChangeLog 29 Mar 2006 05:29:59 -0000 @@ -1,3 +1,9 @@ + +2006-03-29 Nick Sukharev <[email protected]> + + * mail/em-format-html.c: UUEncoded calendars will be displayed as calendars, not as plain text + + 2006-03-12 Vladimer Sichinava <[email protected]> * configure.in: Added "ka" Georgian Index: evolution/mail/em-format-html.c =================================================================== RCS file: /cvs/gnome/evolution/mail/em-format-html.c,v retrieving revision 1.86 diff -u -r1.86 em-format-html.c --- evolution/mail/em-format-html.c 8 Feb 2006 11:51:32 -0000 1.86 +++ evolution/mail/em-format-html.c 29 Mar 2006 05:30:00 -0000 @@ -751,7 +751,7 @@ 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, "<div style=\"border: solid #%06x 1px; background-color: #%06x; padding: 10px;\">\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff);