aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 88f1ca0a10..2ce5885ce1 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-19 Srinivasa Ragavan <sragavan@novell.com>
+
+ * e-shell.c: (set_line_status): Fix a regression due to my previous
+ commit.
+
2008-01-18 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #329712
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 */