aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-14 12:50:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-14 12:50:01 +0800
commit1be51f232560f864ba8795a38e55d472b5b0e2b3 (patch)
tree1c1545954ae8c067901ae0f47f952b43b3885ab0
parentedf8ad6eff6d41b052e48a9a02f07351dc5d4ca8 (diff)
downloadgsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar.gz
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar.bz2
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar.lz
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar.xz
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.tar.zst
gsoc2013-evolution-1be51f232560f864ba8795a38e55d472b5b0e2b3.zip
EMailBackend: Camel no longer has a "network-available" property.
-rw-r--r--mail/e-mail-backend.c6
1 files changed, 1 insertions, 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);