[evolution] EMailBackend: Camel no longer has a "network-available" property.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMailBackend: Camel no longer has a "network-available" property.
- Date: Thu, 14 Nov 2013 05:55:29 +0000 (UTC)
commit 1be51f232560f864ba8795a38e55d472b5b0e2b3
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Nov 13 23:50:01 2013 -0500
EMailBackend: Camel no longer has a "network-available" property.
mail/e-mail-backend.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 4e8d773..bc30ad1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]