aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 38f33d99e9..707edd8439 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1365,7 +1365,7 @@ action_work_offline_cb (GtkAction *action,
EShell *shell;
shell = e_shell_window_get_shell (shell_window);
- e_shell_set_line_status (shell, E_SHELL_LINE_STATUS_OFFLINE);
+ e_shell_set_online_mode (shell, FALSE);
}
/**
@@ -1383,7 +1383,7 @@ action_work_online_cb (GtkAction *action,
EShell *shell;
shell = e_shell_window_get_shell (shell_window);
- e_shell_set_line_status (shell, E_SHELL_LINE_STATUS_ONLINE);
+ e_shell_set_online_mode (shell, TRUE);
}
/**