[evolution] Set network-available on a CamelSession when going online
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Set network-available on a CamelSession when going online
- Date: Thu, 27 Jun 2013 06:52:49 +0000 (UTC)
commit 05f1d810f9db8b9215064e1faf3cbd224bb6c86f
Author: Milan Crha <mcrha redhat com>
Date: Thu Jun 27 08:49:47 2013 +0200
Set network-available on a CamelSession when going online
The network-available property was unset when going offline, but
never set again, which caused download of messages for offline use
broken, because it downloads for offline only if the network-available
is set.
mail/e-mail-backend.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 0ed85b3..d1ca660 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -208,6 +208,7 @@ 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]