aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-06-08 23:07:09 +0800
committerDan Vrátil <dvratil@redhat.com>2012-06-08 23:08:00 +0800
commitb3dee9a31b67b2865b54e7ec2201def63d4056d1 (patch)
treea8b3b4fb86114570a0d13ee16779fba88c18f636 /em-format
parentc4071b0a1d38a478d3ba51c81af222cdeb4ed4fd (diff)
downloadgsoc2013-evolution-b3dee9a31b67b2865b54e7ec2201def63d4056d1.tar.gz
gsoc2013-evolution-b3dee9a31b67b2865b54e7ec2201def63d4056d1.tar.zst
gsoc2013-evolution-b3dee9a31b67b2865b54e7ec2201def63d4056d1.zip
Hide every part in multipart/related with Content-ID set
Diffstat (limited to 'em-format')
-rw-r--r--em-format/e-mail-parser-multipart-related.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/em-format/e-mail-parser-multipart-related.c b/em-format/e-mail-parser-multipart-related.c
index ff7621202d..ee536af319 100644
--- a/em-format/e-mail-parser-multipart-related.c
+++ b/em-format/e-mail-parser-multipart-related.c
@@ -122,7 +122,8 @@ empe_mp_related_parse (EMailParserExtension *extension,
continue;
/* Don't render the part on it's own! */
- mail_part->is_hidden = TRUE;
+ if (mail_part->cid != NULL)
+ mail_part->is_hidden = TRUE;
}
parts = g_slist_concat (parts, list);