diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-19 04:05:28 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-19 04:05:28 +0800 |
commit | 704f596da37cd037d8faeba35586ef281353b217 (patch) | |
tree | 4a66671c15e11502fef5e8151d2861ffc2ba868b /mail/mail-format.c | |
parent | b4c31f5153efd4a7aa58bd1ebd3319297e528f42 (diff) | |
download | gsoc2013-evolution-704f596da37cd037d8faeba35586ef281353b217.tar.gz gsoc2013-evolution-704f596da37cd037d8faeba35586ef281353b217.tar.zst gsoc2013-evolution-704f596da37cd037d8faeba35586ef281353b217.zip |
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
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index 1b55640faa..8e84aa2d13 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -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)); |