aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);