From c15acafc2ccc4151461e22b40bdd5ac1b4bd836e Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Thu, 29 Sep 2005 14:51:34 +0000 Subject: ** See bug 317337 2005-09-29 Parthasarathi Susarla ** See bug 317337 * e-msg-composer.c: (e_msg_composer_new_with_message): Set the proper account name in account_name, so that the from header is set properly. svn path=/trunk/; revision=30419 --- composer/ChangeLog | 8 ++++++++ composer/e-msg-composer.c | 2 ++ 2 files changed, 10 insertions(+) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index f10d479fe4..ecf2de9513 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,11 @@ +2005-09-29 Parthasarathi Susarla + + ** See bug 317337 + + * e-msg-composer.c: (e_msg_composer_new_with_message): + Set the proper account name in account_name, so that + the from header is set properly. + 2005-08-22 Srinivasa Ragavan * e-msg-composer.c (drop_action): Show the bar depending on the diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index bce1c3de91..6eebba6e6e 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4213,6 +4213,8 @@ e_msg_composer_new_with_message (CamelMimeMessage *message) if ((account = mail_config_get_account_by_uid(account_name)) == NULL) /* 'old' setting */ account = mail_config_get_account_by_name(account_name); + g_free (account_name); + account_name = g_strdup (account->name); } if (postto == NULL) { -- cgit