[evolution] Bug #663746 - Cann't finish new account configuration for POP



commit 336803264b8eed389443fe2b544dd9b813842ea0
Author: Milan Crha <mcrha redhat com>
Date:   Mon Nov 14 13:31:32 2011 +0100

    Bug #663746 - Cann't finish new account configuration for POP

 mail/em-account-editor.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index ca90654..b196da0 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2093,13 +2093,6 @@ emae_setup_settings (EMAccountEditorService *service)
 	settings_type = class->settings_type;
 	g_type_class_unref (class);
 
-	/* If we already have a CamelSettings instance
-	 * of the appropriate type, leave it alone. */
-	if (service->settings != NULL) {
-		if (G_OBJECT_TYPE (service->settings) == settings_type)
-			return;
-	}
-
 	url = emae_account_url (
 		service->emae,
 		emae_service_info[service->type].account_uri_key);
@@ -5133,7 +5126,7 @@ emae_commit (EConfig *ec,
 	} else {
 		CamelProvider *provider;
 
-		d (printf ("Adding new account '%s'\n", e_account_get_string (account, E_ACCOUNT_NAME)));
+		d (printf ("Adding new account '%s'\n", e_account_get_string (modified_account, E_ACCOUNT_NAME)));
 		e_account_list_add (accounts, modified_account);
 		account = modified_account;
 



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