$OpenBSD: patch-mail_e-mail-request_c,v 1.1 2013/01/30 07:21:01 ajacoutot Exp $

From d25c6ff68132221ae1369aff29b8d7acbb2fb3aa Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 24 Jan 2013 12:11:00 +0000
Subject: Bug #692009 - text/css always formatted as attachment

--- mail/e-mail-request.c.orig	Mon Jan 21 20:37:57 2013
+++ mail/e-mail-request.c	Wed Jan 30 07:34:36 2013
@@ -142,15 +142,7 @@ handle_mail_request (GSimpleAsyncResult *res,
 		}
 
 		if (part) {
-			CamelContentType *content_type;
-
-			content_type = camel_mime_part_get_content_type (part->part);
-
-			if (context.mode == E_MAIL_FORMATTER_MODE_RAW && content_type &&
-			    camel_content_type_is (content_type, "text", "*") &&
-			    !camel_content_type_is (content_type, "text", "plain") &&
-			    !camel_content_type_is (content_type, "text", "html") &&
-			    !camel_content_type_is (content_type, "text", "calendar")) {
+			if (context.mode == E_MAIL_FORMATTER_MODE_CID) {
 				CamelDataWrapper *dw;
 				CamelStream *raw_content;
 				GByteArray *ba;
