aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-25 05:51:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-25 05:51:04 +0800
commit1dc80dc3791eb57f9947a03a34d1e92950ee88d7 (patch)
tree58ae5428a2d4b2cdeacb666d4688566a8174b19a /mail
parentad7e9b2471129eca0ce80b35c19b81b8f0a29e58 (diff)
downloadgsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar.gz
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar.bz2
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar.lz
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar.xz
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.tar.zst
gsoc2013-evolution-1dc80dc3791eb57f9947a03a34d1e92950ee88d7.zip
check_specials if this is an application/pgp type as well.
2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): check_specials if this is an application/pgp type as well. svn path=/trunk/; revision=11357
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c2
2 files changed, 4 insertions, 1 deletions
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 <fejj@ximian.com>
+ * 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) {