From: José Dapena Paz Date: Fri, 8 Jan 2010 09:51:32 +0000 (+0100) Subject: On checking if singleton accounts exist, take into account if they're enabled. X-Git-Tag: 3.2.9^2 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b00d6f58abe989b49873b3b1187cc100bf22b636 On checking if singleton accounts exist, take into account if they're enabled. Fixes NB#151499. --- 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;