aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index ecc30cb9b5..6adfe6e9b7 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -116,6 +116,9 @@ shell_window_online_mode_notify_cb (EShell *shell,
online_mode = e_shell_get_online_mode (shell);
+ action = ACTION (SEND_RECEIVE);
+ gtk_action_set_sensitive (action, online_mode);
+
action = ACTION (WORK_OFFLINE);
gtk_action_set_sensitive (action, TRUE);
gtk_action_set_visible (action, online_mode);