aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
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/e-shell.c
parent0da6bab0038edb2efc49111fc352a4352aabd3f7 (diff)
downloadgsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.gz
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.bz2
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.lz
gsoc2013-evolution-51f46a49a1ab43965e9090f7521b31ea556d0e99.tar.xz
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/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 */