diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-27 22:47:46 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-27 22:47:46 +0800 |
commit | ac54446b56cc61726a675b51cd07305956643fbc (patch) | |
tree | 357357cf620120955d674573a4977dc36a67acdd /mail/folder-browser-ui.c | |
parent | 5120d7098b94b95a75993be8faa3377507a50b45 (diff) | |
download | gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar.gz gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar.bz2 gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar.lz gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar.xz gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.tar.zst gsoc2013-evolution-ac54446b56cc61726a675b51cd07305956643fbc.zip |
A service needs to be disconnected if it's remote, not already offline,
* mail-offline-handler.c (service_is_relevant): A service needs to
be disconnected if it's remote, not already offline, and either
connected OR connecting.
(storage_go_offline): Don't put non-relevant stores offline. (Eg,
don't force an IMAP store which you hadn't already connected to to
connect and sync.)
(storage_go_online): Likewise, don't "reconnect" stores that
weren't connected before.
* mail-ops.c (set_offline_desc): Fix the message to say
"reconnecting" instead of "disconnecting" when appropriate.
(mail_store_set_offline): If offline is TRUE, call
camel_service_cancel_connect on the store. (We do this here
because we don't want the cancel_connect request to get queued up
behind a hanging connection attempt.)
svn path=/trunk/; revision=13192
Diffstat (limited to 'mail/folder-browser-ui.c')
0 files changed, 0 insertions, 0 deletions