aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-13 23:19:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-13 23:19:56 +0800
commita36294e7c73d610e73448d010dfe532cd5851958 (patch)
treefb019bcdeb0ca6234d1c73b9a40f709ca1fe4a1b /mail
parent7530345eb762ad9a9e0969365a1bc8bc2eb1de8b (diff)
downloadgsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar.gz
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar.bz2
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar.lz
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar.xz
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.tar.zst
gsoc2013-evolution-a36294e7c73d610e73448d010dfe532cd5851958.zip
Bug 677995 - Asks password for disabled mail account
Remove mail_folder_cache_service_added() and rely instead on mail_folder_cache_service_enabled()/disabled(). Despite the function names the folder cache doesn't actually care about enabled status, it simply maintains a set of CamelStores to monitor. We should refactor the folder cache API to better reflect that. EMailAccountStore always immediately follows a "service-added" signal emission with either a "service-enabled" or "service-disabled" emission, which will add or remove the service from the folder cache.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-account-store.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index aabb13e516..e22ed99274 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -483,13 +483,7 @@ static void
mail_account_store_service_added (EMailAccountStore *store,
CamelService *service)
{
- EMailSession *session;
- MailFolderCache *cache;
-
- session = e_mail_account_store_get_session (store);
- cache = e_mail_session_get_folder_cache (session);
-
- mail_folder_cache_service_added (cache, service);
+ /* Placeholder so subclasses can safely chain up. */
}
static void