aboutsummaryrefslogtreecommitdiffstats
path: root/modules/prefer-plain
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-07-13 16:55:56 +0800
committerDan Vrátil <dvratil@redhat.com>2012-07-13 16:55:56 +0800
commit41d72be8b460daf191d1ec1d29f84618694da7ac (patch)
tree7aad0f01534b7f3d7d783ee640efbf6958afc005 /modules/prefer-plain
parentbd2af6d508bee034e7251e5171eff28427ce1546 (diff)
downloadgsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar.gz
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar.bz2
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar.lz
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar.xz
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.tar.zst
gsoc2013-evolution-41d72be8b460daf191d1ec1d29f84618694da7ac.zip
Bug 679814 - Calendar invitation shows both calendar and html part
Diffstat (limited to 'modules/prefer-plain')
-rw-r--r--modules/prefer-plain/e-mail-parser-prefer-plain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/prefer-plain/e-mail-parser-prefer-plain.c b/modules/prefer-plain/e-mail-parser-prefer-plain.c
index 78faadcd63..a325f51f18 100644
--- a/modules/prefer-plain/e-mail-parser-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c
@@ -268,6 +268,9 @@ empe_prefer_plain_parse (EMailParserExtension *extension,
if (camel_content_type_is (ct, "text", "calendar") ||
camel_content_type_is (ct, "text", "x-calendar")) {
+ /* Hide everything else, displaying native calendar part only */
+ hide_parts (parts);
+
sparts = e_mail_parser_parse_part (
parser, sp, part_id, cancellable);