[evolution/webkit] Do not prompt for offline when mail backend not started
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Do not prompt for offline when mail backend not started
- Date: Mon, 11 Jul 2011 14:19:22 +0000 (UTC)
commit 6c51d8827667a31e02c5072e47cca1bcfd3f61f7
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 9 16:59:40 2011 +0100
Do not prompt for offline when mail backend not started
mail/e-mail-backend.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index c75f7c9..b1eec7e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]