aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-07-11 15:28:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-07-11 15:28:40 +0800
commit96496c1392cea9179b9bfbf2b6895e69a6dd13af (patch)
treee244cf9b9dfb4def14dfc9acf34bcb634d0b9a37 /camel/camel-folder-summary.c
parent50e64dee0a5c75d4a6a5df1c41bac37165f2f51b (diff)
downloadgsoc2013-evolution-96496c1392cea9179b9bfbf2b6895e69a6dd13af.tar.gz
gsoc2013-evolution-96496c1392cea9179b9bfbf2b6895e69a6dd13af.tar.zst
gsoc2013-evolution-96496c1392cea9179b9bfbf2b6895e69a6dd13af.zip
Create the messageinfo itself, so we can properly set the size.
2001-07-11 Not Zed <NotZed@Ximian.com> * 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 <NotZed@Ximian.com> * 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
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c7
1 files changed, 5 insertions, 2 deletions
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;
}