[evolution] Fallback to the offline case if we can't contact the server anyway
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fallback to the offline case if we can't contact the server anyway
- Date: Wed, 17 Mar 2010 22:07:13 +0000 (UTC)
commit 887d4979a8a0487c291e233e962eba0fb5a8f948
Author: Federico Mena Quintero <federico novell com>
Date: Wed Mar 17 15:24:32 2010 -0600
Fallback to the offline case if we can't contact the server anyway
Signed-off-by: Federico Mena Quintero <federico novell com>
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 4e2ec27..c6a1f71 100644
--- a/capplet/settings/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
@@ -311,10 +311,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]