From 1be51f232560f864ba8795a38e55d472b5b0e2b3 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 Nov 2013 23:50:01 -0500 Subject: EMailBackend: Camel no longer has a "network-available" property. --- mail/e-mail-backend.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index 4e8d773705..bc30ad1d94 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -145,11 +145,8 @@ mail_backend_prepare_for_offline_cb (EShell *shell, synchronize = em_utils_prompt_user ( window, NULL, "mail:ask-quick-offline", NULL); - if (!synchronize) { + if (!synchronize) mail_cancel_all (); - camel_session_set_network_available ( - CAMEL_SESSION (session), FALSE); - } /* Set the cancellable only here, because mail_cancel_all() would * cancel the just added CamelOperation as well. */ @@ -203,7 +200,6 @@ mail_backend_prepare_for_online_cb (EShell *shell, session = e_mail_backend_get_session (backend); account_store = e_mail_ui_session_get_account_store (E_MAIL_UI_SESSION (session)); - camel_session_set_network_available (CAMEL_SESSION (session), TRUE); camel_session_set_online (CAMEL_SESSION (session), TRUE); e_mail_account_store_queue_enabled_services (account_store, &queue); -- cgit v1.2.3