diff options
-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 4e2ec27287..c6a1f71b45 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 |