aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 10 insertions, 0 deletions
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 <sparthasarathi@novell.com>
+
+ ** 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 <sragavan@novell.com>
* 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) {