aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-17 16:54:37 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:45 +0800
commitfb02510f74620589ecd8a1873455e0fd48e1222a (patch)
tree2131f9b3ec1dd7b80bdd15c54c684dda69e0f86c /mail
parent1be7aa612cacc958b047e3ff0141a69d62cb7636 (diff)
downloadgsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar.gz
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar.bz2
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar.lz
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar.xz
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.tar.zst
gsoc2013-evolution-fb02510f74620589ecd8a1873455e0fd48e1222a.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')
-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;