From 96496c1392cea9179b9bfbf2b6895e69a6dd13af Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 11 Jul 2001 07:28:40 +0000 Subject: Create the messageinfo itself, so we can properly set the size. 2001-07-11 Not Zed * camel-filter-driver.c (camel_filter_driver_filter_mbox): Create the messageinfo itself, so we can properly set the size. * camel-movemail.c (camel_movemail_solaris): Write out the from line between each message. 2001-07-10 Not Zed * providers/local/camel-local-summary.c (local_summary_add): Copy the size across from the source message info if supplied. * camel-stream-null.c: Added a 'written' member which keeps track of how much has been written to the stream. * camel-movemail.c (camel_movemail): If we have BROKEN_SPOOL defined, then use the solaris movemail to quote from lines that sendmail didn't. (camel_movemail_solaris): Compile this in if BROKEN_SPOOL defined. svn path=/trunk/; revision=10989 --- camel/camel-folder-summary.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'camel/camel-folder-summary.c') diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 2b8fa3734f..2e2d66d062 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -870,6 +870,7 @@ CamelMessageInfo *camel_folder_summary_info_new_from_message(CamelFolderSummary { CamelMessageInfo *info; struct _CamelFolderSummaryPrivate *p = _PRIVATE(s); + CamelStreamNull *sn; info = ((CamelFolderSummaryClass *)(CAMEL_OBJECT_GET_CLASS(s)))->message_info_new_from_message(s, msg); @@ -883,8 +884,10 @@ CamelMessageInfo *camel_folder_summary_info_new_from_message(CamelFolderSummary } info->content = summary_build_content_info_message(s, info, (CamelMimePart *)msg); - /* FIXME: calculate the size as part of build_content_info_message */ - /* info->size = ... */ +#if 0 + sn = camel_stream_null_new(); + camel_data_wrapper_write_to_stream((CamelDataWrapper *)msg, sn); +#endif return info; } -- cgit v1.2.3