evolution-data-server r10129 - trunk/camel



Author: mcrha
Date: Wed Mar  4 15:53:42 2009
New Revision: 10129
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10129&view=rev

Log:
2009-03-04  Milan Crha  <mcrha redhat com>

	** Fix for bug #573198

	* camel-folder-summary.c: (summary_build_content_info),
	(summary_build_content_info_message): Tag messages with "$has_cal"
	also when content-type is set to text/calendar.



Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-folder-summary.c

Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c	(original)
+++ trunk/camel/camel-folder-summary.c	Wed Mar  4 15:53:42 2009
@@ -3680,7 +3680,7 @@
 		if (!calendar_header)
 			calendar_header = camel_mime_parser_header (mp, "X-Calendar-Attachment", NULL);
 
-		if (calendar_header)
+		if (calendar_header || camel_content_type_is (ct, "text", "calendar"))
 			camel_message_info_set_user_flag (msginfo, "$has_cal", TRUE);
 
 		if (p->index && camel_content_type_is(ct, "text", "*")) {
@@ -3855,7 +3855,7 @@
 			break;
 	}
 
-	if (header)
+	if (header || camel_content_type_is (ct, "text", "calendar"))
 		camel_message_info_set_user_flag (msginfo, "$has_cal", TRUE);
 
 	/* using the object types is more accurate than using the mime/types */



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