aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-09 23:59:40 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:44 +0800
commita76c64d353bd10d2fe1f3300a3aedecdd6e9c533 (patch)
tree9be7ef571ae5fa2e8f012e0424641f4a5b9e1bae /mail/e-mail-backend.c
parentcdd89ef2902202c3fe535d0f24ecebc5ee93a134 (diff)
downloadgsoc2013-evolution-a76c64d353bd10d2fe1f3300a3aedecdd6e9c533.tar.gz
gsoc2013-evolution-a76c64d353bd10d2fe1f3300a3aedecdd6e9c533.tar.zst
gsoc2013-evolution-a76c64d353bd10d2fe1f3300a3aedecdd6e9c533.zip
Do not prompt for offline when mail backend not started
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r--mail/e-mail-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index c75f7c96a2..b1eec7e008 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -119,7 +119,7 @@ mail_backend_prepare_for_offline_cb (EShell *shell,
window = e_shell_get_active_window (shell);
session = e_mail_backend_get_session (backend);
- if (e_shell_get_network_available (shell))
+ if (e_shell_get_network_available (shell) && e_shell_backend_is_started (E_SHELL_BACKEND (backend)))
synchronize = em_utils_prompt_user (
window, NULL, "mail:ask-quick-offline", NULL);