aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2005-09-29 22:51:34 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2005-09-29 22:51:34 +0800
commitc15acafc2ccc4151461e22b40bdd5ac1b4bd836e (patch)
treefa0de3c03bbca4f12f1979cf64e9602371ee1d81 /composer
parentd097ac6883dab98ffe326299f7293062573433f8 (diff)
downloadgsoc2013-evolution-c15acafc2ccc4151461e22b40bdd5ac1b4bd836e.tar.gz
gsoc2013-evolution-c15acafc2ccc4151461e22b40bdd5ac1b4bd836e.tar.zst
gsoc2013-evolution-c15acafc2ccc4151461e22b40bdd5ac1b4bd836e.zip
** See bug 317337
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. svn path=/trunk/; revision=30419
Diffstat (limited to 'composer')
-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) {