aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-17 16:54:37 +0800
committerMilan Crha <mcrha@redhat.com>2011-03-17 16:54:37 +0800
commit1b21f29ab57faffe899ac462c3fdcddc851e77c2 (patch)
tree956037aff0d84a6ea763fa7b5f065bec77befd5b /mail/e-mail-session.c
parent5210085889481c72eff1f677c87d548386085a82 (diff)
downloadgsoc2013-evolution-1b21f29ab57faffe899ac462c3fdcddc851e77c2.tar.gz
gsoc2013-evolution-1b21f29ab57faffe899ac462c3fdcddc851e77c2.tar.zst
gsoc2013-evolution-1b21f29ab57faffe899ac462c3fdcddc851e77c2.zip
Save account list when changing account after password prompt
It was necessary to propagate the change into evolution-exchange, as found within bug #644644
Diffstat (limited to 'mail/e-mail-session.c')
-rw-r--r--mail/e-mail-session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index e6afdc05b4..e701509a63 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -681,8 +681,10 @@ mail_session_get_password (CamelSession *session,
g_free (title);
- if (ret && config_service)
+ if (ret && config_service) {
config_service->save_passwd = remember;
+ e_account_list_save (e_get_account_list ());
+ }
if (config_service)
config_service->get_password_canceled = ret == NULL;