From 1dc80dc3791eb57f9947a03a34d1e92950ee88d7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 24 Jul 2001 21:51:04 +0000 Subject: check_specials if this is an application/pgp type as well. 2001-07-24 Jeffrey Stedfast * mail-format.c (handle_text_plain): check_specials if this is an application/pgp type as well. svn path=/trunk/; revision=11357 --- mail/ChangeLog | 3 +++ mail/mail-format.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index e73cb061f2..8543220b7f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-07-24 Jeffrey Stedfast + * mail-format.c (handle_text_plain): check_specials if this is an + application/pgp type as well. + * mail-ops.c (add_vtrash_info): When dumping the CamelURL to a string, hide all the params. diff --git a/mail/mail-format.c b/mail/mail-format.c index a5f4007b6d..795bfefa5d 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1012,7 +1012,7 @@ handle_text_plain (CamelMimePart *part, const char *mime_type, * has decided to call text/plain because it starts with English * text...) */ - check_specials = (g_strcasecmp (mime_type, "text/plain") == 0); + check_specials = !g_strcasecmp (mime_type, "text/plain") || !g_strcasecmp (mime_type, "application/pgp"); p = text; while (p && check_specials) { -- cgit v1.2.3