aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-07-26 21:35:18 +0800
committerDan Vrátil <dvratil@redhat.com>2012-07-26 21:35:46 +0800
commit181ae9cd3ec31790190a2a7adf008605598584c6 (patch)
tree605716c880aba6386bf2c7c9733a8c073f534409 /em-format
parent550efe7b4a8681709e67f44258649f02c8580bb4 (diff)
downloadgsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar.gz
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar.bz2
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar.lz
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar.xz
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.tar.zst
gsoc2013-evolution-181ae9cd3ec31790190a2a7adf008605598584c6.zip
Bug #680635 - Inline GPG shown as source
Diffstat (limited to 'em-format')
-rw-r--r--em-format/e-mail-parser-text-plain.c9
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 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);