[evolution] Save account list when changing account after password prompt



commit 1b21f29ab57faffe899ac462c3fdcddc851e77c2
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 17 09:54:37 2011 +0100

    Save account list when changing account after password prompt
    
    It was necessary to propagate the change into evolution-exchange,
    as found within bug #644644

 mail/e-mail-session.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index e6afdc0..e701509 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]