From b00d6f58abe989b49873b3b1187cc100bf22b636 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Dapena=20Paz?= Date: Fri, 8 Jan 2010 10:51:32 +0100 Subject: [PATCH] On checking if singleton accounts exist, take into account if they're enabled. Fixes NB#151499. --- src/modest-account-mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modest-account-mgr.c b/src/modest-account-mgr.c index 7f0ee82..48a96dc 100644 --- a/src/modest-account-mgr.c +++ b/src/modest-account-mgr.c @@ -1690,7 +1690,7 @@ modest_account_mgr_singleton_protocol_exists (ModestAccountMgr *mgr, gboolean found = FALSE; g_return_val_if_fail (MODEST_IS_ACCOUNT_MGR (mgr), FALSE); - account_names = modest_account_mgr_account_names (mgr, TRUE); + account_names = modest_account_mgr_account_names (mgr, FALSE); for (node = account_names; node != NULL; node = g_slist_next (node)) { ModestProtocolType current_protocol; -- 1.7.9.5