From 51f46a49a1ab43965e9090f7521b31ea556d0e99 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sat, 19 Jan 2008 14:24:57 +0000 Subject: Fix a regression due to my previous commit. 2008-01-19 Srinivasa Ragavan * e-shell.c: (set_line_status): Fix a regression due to my previous commit. svn path=/trunk/; revision=34851 --- shell/ChangeLog | 5 +++++ shell/e-shell.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'shell') 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 + + * e-shell.c: (set_line_status): Fix a regression due to my previous + commit. + 2008-01-18 Srinivasa Ragavan ** 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 */ -- cgit