aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-12 15:56:42 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-12 15:56:42 +0800
commitcd4b2ee13c718134bfec6dde7326f0a44f277b68 (patch)
treec2cd3cd77163279b29d48c09429cd2db199b244b /mail/em-composer-utils.c
parent9cc7e4cc95fb63ff48359b955329607795c6cf1f (diff)
downloadgsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.gz
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.zst
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.zip
** See bug #58302.
2004-05-12 Not Zed <NotZed@Ximian.com> ** 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
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c4
1 files changed, 2 insertions, 2 deletions
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);