aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index bdab938293..c4b5553f68 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1145,7 +1145,7 @@ set_line_status(EShell *shell, GNOME_Evolution_ShellState shell_state)
status = TRUE;
if ((status && priv->line_status == E_SHELL_LINE_STATUS_ONLINE)
- || (!status && priv->line_status == shell_state))
+ || (!status && priv->line_status == E_SHELL_LINE_STATUS_OFFLINE && !forced))
return;
/* we use 'going offline' to mean 'changing status' now */