diff options
author | Milan Crha <mcrha@redhat.com> | 2013-06-27 14:49:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-06-27 14:49:47 +0800 |
commit | 05f1d810f9db8b9215064e1faf3cbd224bb6c86f (patch) | |
tree | f9b65dfc45675d1d07cc05ebc3842f4429abfa1e | |
parent | a764f34313170dea4e87679a84e9fd1a354fa6a3 (diff) | |
download | gsoc2013-evolution-05f1d810f9db8b9215064e1faf3cbd224bb6c86f.tar.gz gsoc2013-evolution-05f1d810f9db8b9215064e1faf3cbd224bb6c86f.tar.zst gsoc2013-evolution-05f1d810f9db8b9215064e1faf3cbd224bb6c86f.zip |
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.
-rw-r--r-- | 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 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); |