From 3556d21a8e198b9ffbae74501a10bfe224d31cab Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 16 Jul 2002 23:22:40 +0000 Subject: Set the from-account last so that auto-cc/bcc recipients don't get 2002-07-16 Jeffrey Stedfast * 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. svn path=/trunk/; revision=17487 --- composer/ChangeLog | 6 ++++++ composer/e-msg-composer.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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); } -- cgit