[evolution] Revert commit c9d0ac7 (bug #681279)



commit 9998479b96de521f2b120153087202daa32c90ad
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 11 17:35:15 2012 +0200

    Revert commit c9d0ac7 (bug #681279)

 mail/em-utils.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/mail/em-utils.c b/mail/em-utils.c
index c5a1382..4dc130c 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1305,19 +1305,6 @@ em_utils_message_to_html (CamelSession *session,
 			if (!part)
 				continue;
 
-			/* Prefer-plain can hide text parts, thus show them */
-			if (part->is_hidden && part->mime_type) {
-				CamelContentType *ct;
-
-				ct = camel_content_type_decode (part->mime_type);
-				if (ct) {
-					if (camel_content_type_is (ct, "text", "*"))
-						part->is_hidden = FALSE;
-
-					camel_content_type_unref (ct);
-				}
-			}
-
 			if (*validity_found && part->validity_type)
 				*validity_found |= part->validity_type;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]