aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
authorMatt Brown <matt@mattb.net.nz>2005-07-01 11:29:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-07-01 11:29:23 +0800
commita9edef00dd65010d4e08517d861ea55992bd863d (patch)
tree9b0c32d63782d121ac26c7b27c3c5b363121f3c5 /mail/em-format.c
parent1e959e8cdb46c7dc61de09e80aac06097e12c729 (diff)
downloadgsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar.gz
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar.bz2
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar.lz
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar.xz
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.tar.zst
gsoc2013-evolution-a9edef00dd65010d4e08517d861ea55992bd863d.zip
implement extraction of inline signed/encrypted pgp parts and package them
2005-06-24 Matt Brown <matt@mattb.net.nz> * em-inline-filter.c: implement extraction of inline signed/encrypted pgp parts and package them into x-inlinepgp-signed/x-inline-pgp-encrypted parts. * em-format-html.c: Formatters to verify/decrypt and then display the parts generated by the inline filter. svn path=/trunk/; revision=29603
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index dd7cf1e084..10965148c0 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -914,6 +914,8 @@ int em_format_is_attachment(EMFormat *emf, CamelMimePart *part)
return !(camel_content_type_is (dw->mime_type, "multipart", "*")
|| camel_content_type_is(dw->mime_type, "application", "x-pkcs7-mime")
|| camel_content_type_is(dw->mime_type, "application", "pkcs7-mime")
+ || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-signed")
+ || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-encrypted")
|| (camel_content_type_is (dw->mime_type, "text", "*")
&& camel_mime_part_get_filename(part) == NULL));
}