diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-03-18 05:24:32 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-07 19:07:25 +0800 |
commit | 9cbf441430a637ac239f4b1490380cdb92543dbf (patch) | |
tree | fa08454c913e253c424a48182f9a2759c6f132d4 | |
parent | 6cf5297b72585ac32d40743216fbf561caba7cf3 (diff) | |
download | gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar.gz gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar.bz2 gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar.lz gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar.xz gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.tar.zst gsoc2013-evolution-9cbf441430a637ac239f4b1490380cdb92543dbf.zip |
Fallback to the offline case if we can't contact the server anyway
Signed-off-by: Federico Mena Quintero <federico@novell.com>
-rw-r--r-- | capplet/settings/mail-guess-servers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c index c6a5604533..9ae62119a3 100644 --- a/capplet/settings/mail-guess-servers.c +++ b/capplet/settings/mail-guess-servers.c @@ -310,10 +310,10 @@ out: gboolean mail_guess_servers(EmailProvider *provider) { - if (is_offline ()) - return guess_when_offline (provider); + if (is_online () && guess_when_online (provider)) + return TRUE; else - return guess_when_online (provider); + return guess_when_offline (provider); } #ifdef TEST |