aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index a19f850fbc..f67d32d454 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_set_headers): Set the
+ from-account last so that auto-cc/bcc recipients don't get
+ overwritten when setting the cc/bcc recipient fields.
+
2002-07-16 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (create_composer): Instead of doing this with a
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index f0ec802c7e..d63b1a1f08 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3584,11 +3584,11 @@ e_msg_composer_set_headers (EMsgComposer *composer,
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
hdrs = E_MSG_COMPOSER_HDRS (composer->hdrs);
- e_msg_composer_hdrs_set_from_account (hdrs, from);
e_msg_composer_hdrs_set_to (hdrs, to);
e_msg_composer_hdrs_set_cc (hdrs, cc);
e_msg_composer_hdrs_set_bcc (hdrs, bcc);
e_msg_composer_hdrs_set_subject (hdrs, subject);
+ e_msg_composer_hdrs_set_from_account (hdrs, from);
}