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/e-msg-composer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'composer/e-msg-composer.c') 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 v1.2.3