aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-01-19 22:24:57 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-01-19 22:24:57 +0800
commit51f46a49a1ab43965e9090f7521b31ea556d0e99 (patch)
tree20e69615c079389afa521894056cfdf61b632506 /shell
parent0da6bab0038edb2efc49111fc352a4352aabd3f7 (diff)
downloadgsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.gz
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.zst
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.zip
Fix a regression due to my previous commit.
2008-01-19 Srinivasa Ragavan <sragavan@novell.com> * e-shell.c: (set_line_status): Fix a regression due to my previous commit. svn path=/trunk/; revision=34851
Diffstat (limited to 'shell')
-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 */