[evolution-mapi] Skip account changed signal for MAPI-unknown accounts



commit 6c56590dda21cf7c44c352d602f0f9a738cdb251
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 26 10:32:09 2011 +0200

    Skip account changed signal for MAPI-unknown accounts

 .../exchange-mapi-account-listener.c               |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-mapi-account-listener.c b/src/account-setup-eplugin/exchange-mapi-account-listener.c
index db65aeb..c3a3b10 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-listener.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-listener.c
@@ -1280,6 +1280,9 @@ mapi_account_changed_async (gpointer worker_data, gboolean cancelled, gpointer u
 	if (existing_account_info)
 		old_url = camel_url_new (existing_account_info->source_url, NULL);
 
+	if (!isa_mapi_account && !existing_account_info)
+		return;
+
 	new_url = camel_url_new (account->source->url, NULL);
 
 	settings = g_object_new (CAMEL_TYPE_MAPI_SETTINGS, NULL);



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