diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-07-26 17:37:39 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-07-26 17:37:39 +0800 |
commit | c1a6b6f8d3b5026a872c86c6ccc4a1b21efdc4e6 (patch) | |
tree | 57d599b708dbfc0f48fa9123df4334b02ad69679 /mail/em-format-html.c | |
parent | b6a3c9824e6853b06767320cd3ec26d10720be16 (diff) | |
download | gsoc2013-evolution-c1a6b6f8d3b5026a872c86c6ccc4a1b21efdc4e6.tar.gz gsoc2013-evolution-c1a6b6f8d3b5026a872c86c6ccc4a1b21efdc4e6.tar.zst gsoc2013-evolution-c1a6b6f8d3b5026a872c86c6ccc4a1b21efdc4e6.zip |
2007-07-26 mcrha Fix for bug #273386
svn path=/trunk/; revision=33846
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index f7617b59f9..f2eb568595 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -579,7 +579,7 @@ efh_url_requested(GtkHTML *html, const char *url, GtkHTMLStream *handle, EMForma job = em_format_html_job_new(efh, emfh_gethttp, g_strdup(url)); } else if (g_ascii_strncasecmp(url, "/", 1) == 0) { char *data = NULL; - guint length = 0; + gsize length = 0; gboolean status; status = g_file_get_contents (url, &data, &length, NULL); @@ -1371,6 +1371,11 @@ efh_format_timeout(struct _format_msg *m) mail_msg_free(m); p->last_part = NULL; } else { + hstream = gtk_html_begin(efh->html); + gtk_html_stream_printf(hstream, "<h5>%s</h5>", + _("Formatting Message...")); + gtk_html_stream_close(hstream, GTK_HTML_STREAM_OK); + hstream = NULL; m->estream = (EMHTMLStream *)em_html_stream_new(efh->html, hstream); @@ -1765,8 +1770,8 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) const char *photo_name = NULL; CamelInternetAddress *cia = NULL; gboolean face_decoded = FALSE; - char *face_header_value; - int face_header_len; + char *face_header_value = NULL; + int face_header_len = 0; ct = camel_mime_part_get_content_type((CamelMimePart *)part); charset = camel_content_type_param (ct, "charset"); |