Always request to import the HTML version if at all possible so that we
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Always request to import the HTML version if at all possible so that we maintain formatting and other nifty stuff :-) svn path=/trunk/; revision=5085
This commit is contained in:
committed by
Jeffrey Stedfast
parent
1e291c07c0
commit
248cb28e52
@ -1,5 +1,11 @@
|
||||
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com>
|
||||
|
||||
* e-msg-composer.c (e_msg_composer_new_with_message): Always
|
||||
request to import the HTML version if at all possible so that we
|
||||
maintain formatting and other nifty stuff :-)
|
||||
|
||||
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com>
|
||||
|
||||
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the
|
||||
"From" address in the CamelMimeMessage. Also updated to use
|
||||
get_subject to both make our lives easier and prepare for using UTF8
|
||||
|
||||
@ -690,7 +690,7 @@ e_msg_composer_hdrs_get_cc_entry (EMsgComposerHdrs *hdrs)
|
||||
{
|
||||
g_return_val_if_fail (hdrs != NULL, NULL);
|
||||
g_return_val_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs), NULL);
|
||||
|
||||
|
||||
return hdrs->priv->cc_entry;
|
||||
}
|
||||
|
||||
|
||||
@ -1381,7 +1381,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
|
||||
{
|
||||
const CamelInternetAddress *to, *cc, *bcc;
|
||||
GList *To = NULL, *Cc = NULL, *Bcc = NULL;
|
||||
gboolean want_plain, is_html;
|
||||
gboolean is_html;
|
||||
CamelDataWrapper *contents;
|
||||
const gchar *subject;
|
||||
GtkWidget *new;
|
||||
@ -1429,10 +1429,8 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
|
||||
free_recipients (Cc);
|
||||
free_recipients (Bcc);
|
||||
|
||||
want_plain = !mail_config_send_html ();
|
||||
|
||||
contents = camel_medium_get_content_object (CAMEL_MEDIUM (msg));
|
||||
text = mail_get_message_body (contents, want_plain, &is_html);
|
||||
text = mail_get_message_body (contents, FALSE, &is_html);
|
||||
if (is_html)
|
||||
final_text = g_strdup (text);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user