evolution r37258 - branches/kill-bonobo/shell



Author: mbarnes
Date: Fri Feb 13 03:10:34 2009
New Revision: 37258
URL: http://svn.gnome.org/viewvc/evolution?rev=37258&view=rev

Log:
Disable Send/Receive when working offline.


Modified:
   branches/kill-bonobo/shell/e-shell-window.c

Modified: branches/kill-bonobo/shell/e-shell-window.c
==============================================================================
--- branches/kill-bonobo/shell/e-shell-window.c	(original)
+++ branches/kill-bonobo/shell/e-shell-window.c	Fri Feb 13 03:10:34 2009
@@ -116,6 +116,9 @@
 
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]