[evolution] Bug #680635 - Inline GPG shown as source



commit 181ae9cd3ec31790190a2a7adf008605598584c6
Author: Dan VrÃtil <dvratil redhat com>
Date:   Thu Jul 26 15:35:18 2012 +0200

    Bug #680635 - Inline GPG shown as source

 em-format/e-mail-parser-text-plain.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c
index 1795d01..bc527e4 100644
--- a/em-format/e-mail-parser-text-plain.c
+++ b/em-format/e-mail-parser-text-plain.c
@@ -98,7 +98,14 @@ process_part (EMailParser *parser,
 	}
 
 	type = camel_mime_part_get_content_type (part);
-	if (!camel_content_type_is (type, "text", "calendar")) {
+	if (!camel_content_type_is (type, "text", "*")) {
+
+		parts = e_mail_parser_parse_part (
+				parser, CAMEL_MIME_PART (part),
+				part_id, cancellable);
+		return parts;
+
+	} else if (!camel_content_type_is (type, "text", "calendar")) {
 
 		g_string_append_printf (part_id, ".plain_text.%d", part_number);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]