From 05f1d810f9db8b9215064e1faf3cbd224bb6c86f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 27 Jun 2013 08:49:47 +0200 Subject: 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 file changed, 1 insertion(+) (limited to 'mail') diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index 0ed85b34ad..d1ca660ab7 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); -- cgit v1.2.3