aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 11:10:34 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 11:10:34 +0800
commit0e4972fe5dc98316c6b0406e8809f43f0a6344f4 (patch)
treee37c2056416bd45b891ae770161b27ba0121b8fd /shell
parentf4d9a26f99304d0fed83289bb6411e3a14a01ef7 (diff)
downloadgsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar.gz
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar.bz2
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar.lz
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar.xz
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.tar.zst
gsoc2013-evolution-0e4972fe5dc98316c6b0406e8809f43f0a6344f4.zip
Disable Send/Receive when working offline.
svn path=/branches/kill-bonobo/; revision=37258
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);