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:53:07 +0800 |
commit | 3c5d91b3985411fa312b0531f92d5f6ef20a5d7f (patch) | |
tree | fcc4c71d1770bad98ceba25c2757cd920a74f795 /mail | |
parent | 68e88ad00d8dab1b8e5b788c6d4acd37b278154c (diff) | |
download | gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar.gz gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar.bz2 gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar.lz gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar.xz gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.tar.zst gsoc2013-evolution-3c5d91b3985411fa312b0531f92d5f6ef20a5d7f.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.
Diffstat (limited to 'mail')
-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 cfd6f0a349..b442dc1c8c 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -206,6 +206,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); |