[evolution] Bug 679814 - Calendar invitation shows both calendar and html part
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 679814 - Calendar invitation shows both calendar and html part
- Date: Fri, 13 Jul 2012 08:57:12 +0000 (UTC)
commit 41d72be8b460daf191d1ec1d29f84618694da7ac
Author: Dan VrÃtil <dvratil redhat com>
Date: Fri Jul 13 10:55:56 2012 +0200
Bug 679814 - Calendar invitation shows both calendar and html part
modules/prefer-plain/e-mail-parser-prefer-plain.c | 3 +++
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 78faadc..a325f51 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]