From 3dbad4ffb4f2477c1ec2f101d2687bbf3c46e795 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 9 Mar 2011 16:59:40 +0100 Subject: Do not prompt for offline when mail backend not started --- mail/e-mail-backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail') 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); -- cgit