aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-commands.c')
-rw-r--r--shell/e-shell-window-commands.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index a6901d0865..0e4b9940ee 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -1024,7 +1024,10 @@ command_work_offline (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
{
- e_shell_go_offline (e_shell_window_peek_shell (window), window, GNOME_Evolution_USER_OFFLINE);
+ EShell *shell;
+
+ shell = e_shell_window_peek_shell (window);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_OFFLINE);
}
static void
@@ -1032,7 +1035,10 @@ command_work_online (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
{
- e_shell_go_online (e_shell_window_peek_shell (window), window, GNOME_Evolution_USER_ONLINE);
+ EShell *shell;
+
+ shell = e_shell_window_peek_shell (window);
+ e_shell_set_line_status (shell, GNOME_Evolution_USER_ONLINE);
}
static void