aboutsummaryrefslogtreecommitdiffstats
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
parent9cc7e4cc95fb63ff48359b955329607795c6cf1f (diff)
downloadgsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.gz
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.bz2
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.lz
gsoc2013-evolution-cd4b2ee13c718134bfec6dde7326f0a44f277b68.tar.xz
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
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-composer-utils.c4
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,5 +1,14 @@
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.
+
+2004-05-12 Not Zed <NotZed@Ximian.com>
+
* mail-component.c (setup_search_context): enable threading option
type on the search bar.
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);