From cd4b2ee13c718134bfec6dde7326f0a44f277b68 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 May 2004 07:56:42 +0000 Subject: ** See bug #58302. 2004-05-12 Not Zed ** See bug #58302. * em-composer-utils.c (em_utils_post_to_folder): * em-composer-utils.c (em_utils_compose_new_message_with_mailto): poke the composer headers from account directly, don't call set headers which overwrites stuff. svn path=/trunk/; revision=25879 --- mail/ChangeLog | 9 +++++++++ mail/em-composer-utils.c | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 075709b166..948a11156f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2004-05-12 Not Zed + + ** See bug #58302. + + * em-composer-utils.c (em_utils_post_to_folder): + * em-composer-utils.c (em_utils_compose_new_message_with_mailto): + poke the composer headers from account directly, don't call set + headers which overwrites stuff. + 2004-05-12 Not Zed * mail-component.c (setup_search_context): enable threading option diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index c7ec92feca..9b35dcb8ea 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -682,7 +682,7 @@ em_utils_compose_new_message_with_mailto (const char *url, const char *fromuri) if (fromuri && (account = mail_config_get_account_by_source_url(fromuri))) - e_msg_composer_set_headers (composer, account->name, NULL, NULL, NULL, ""); + e_msg_composer_hdrs_set_from_account((EMsgComposerHdrs *)composer->hdrs, account->name); e_msg_composer_unset_changed (composer); e_msg_composer_drop_editor_undo (composer); @@ -717,7 +717,7 @@ em_utils_post_to_folder (CamelFolder *folder) g_free (url); if (account) - e_msg_composer_set_headers (composer, account->name, NULL, NULL, NULL, ""); + e_msg_composer_hdrs_set_from_account ((EMsgComposerHdrs *) ((EMsgComposer *) composer)->hdrs, account->name); } em_composer_utils_setup_default_callbacks (composer); -- cgit v1.2.3