Call mail_content_loaded here rather than blocking if the message data

* mail-format.c (mail_format_raw_message): Call
	mail_content_loaded here rather than blocking if the message data
	isn't available.

svn path=/trunk/; revision=12949
This commit is contained in:
Dan Winship
2001-09-18 20:05:28 +00:00
parent b4c31f5153
commit 704f596da3
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2001-09-18 Dan Winship <danw@ximian.com>
* mail-format.c (mail_format_raw_message): Call
mail_content_loaded here rather than blocking if the message data
isn't available.
2001-09-17 <NotZed@Ximian.com>
* mail-ops.c (mail_get_folderinfo): Get folderinfo 1 at a time

View File

@ -204,6 +204,10 @@ mail_format_raw_message (CamelMimeMessage *mime_message, MailDisplay *md)
g_return_if_fail (CAMEL_IS_MIME_MESSAGE (mime_message));
if (!mail_content_loaded (CAMEL_DATA_WRAPPER (mime_message), md,
TRUE, NULL, NULL))
return;
mail_html_write (md->html, md->stream, "<table cellspacing=0 cellpadding=10 width=\"100%%\"><tr><td><tt>\n");
text = get_data_wrapper_text (CAMEL_DATA_WRAPPER (mime_message));