diff options
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/e-mail-formatter.h | 2 | ||||
-rw-r--r-- | em-format/e-mail-parser-text-plain.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/em-format/e-mail-formatter.h b/em-format/e-mail-formatter.h index c0c21c13b0..9b4e84d262 100644 --- a/em-format/e-mail-formatter.h +++ b/em-format/e-mail-formatter.h @@ -96,6 +96,8 @@ struct _EMailFormatterContext { EMailFormatterMode mode; guint32 flags; + + gchar *uri; }; struct _EMailFormatter { diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c index 00a7b53b18..1795d019a9 100644 --- a/em-format/e-mail-parser-text-plain.c +++ b/em-format/e-mail-parser-text-plain.c @@ -98,8 +98,7 @@ process_part (EMailParser *parser, } type = camel_mime_part_get_content_type (part); - if (camel_content_type_is (type, "text", "*") && - (!camel_content_type_is (type, "text", "calendar"))) { + if (!camel_content_type_is (type, "text", "calendar")) { g_string_append_printf (part_id, ".plain_text.%d", part_number); |