From 181ae9cd3ec31790190a2a7adf008605598584c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 26 Jul 2012 15:35:18 +0200 Subject: Bug #680635 - Inline GPG shown as source --- em-format/e-mail-parser-text-plain.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'em-format') diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c index 1795d019a9..bc527e4fe4 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); -- cgit v1.2.3