From 0e4972fe5dc98316c6b0406e8809f43f0a6344f4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 13 Feb 2009 03:10:34 +0000 Subject: Disable Send/Receive when working offline. svn path=/branches/kill-bonobo/; revision=37258 --- shell/e-shell-window.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3