diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-18 19:15:39 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-18 19:15:39 +0800 |
commit | f7f4014e220f9ea4ca635d6fbc852f179d5c6656 (patch) | |
tree | 7be19f2774f181361e5759e4bdf1109929e2ba48 /em-format | |
parent | 51dc6864b87ad32df4df6c840251c6b4f4c85f39 (diff) | |
download | gsoc2013-evolution-f7f4014e220f9ea4ca635d6fbc852f179d5c6656.tar.gz gsoc2013-evolution-f7f4014e220f9ea4ca635d6fbc852f179d5c6656.tar.zst gsoc2013-evolution-f7f4014e220f9ea4ca635d6fbc852f179d5c6656.zip |
Bug #630518 - Hides calendar parts from multipart/alternative
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/em-format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c index dc20ac596d..1d0c60161a 100644 --- a/em-format/em-format.c +++ b/em-format/em-format.c @@ -1136,6 +1136,8 @@ em_format_is_attachment (EMFormat *emf, || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-signed") || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-encrypted") || camel_content_type_is(dw->mime_type, "x-evolution", "evolution-rss-feed") + || camel_content_type_is(dw->mime_type, "text", "calendar") + || camel_content_type_is(dw->mime_type, "text", "x-calendar") || (camel_content_type_is (dw->mime_type, "text", "*") && camel_mime_part_get_filename (part) == NULL)); } |