aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-11-14 20:31:32 +0800
committerMilan Crha <mcrha@redhat.com>2011-11-14 20:31:32 +0800
commit336803264b8eed389443fe2b544dd9b813842ea0 (patch)
treeec00f2b038b120ef2dc63936208821819d542062 /mail/em-account-editor.c
parentc4308051159a37f16521b881f59259861998f4ae (diff)
downloadgsoc2013-evolution-336803264b8eed389443fe2b544dd9b813842ea0.tar.gz
gsoc2013-evolution-336803264b8eed389443fe2b544dd9b813842ea0.tar.zst
gsoc2013-evolution-336803264b8eed389443fe2b544dd9b813842ea0.zip
Bug #663746 - Cann't finish new account configuration for POP
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index ca90654faf..b196da0715 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;