Index: e-shell-window-commands.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell-window-commands.c,v
retrieving revision 1.50
diff -u -p -r1.50 e-shell-window-commands.c
--- e-shell-window-commands.c	24 Apr 2006 11:00:52 -0000	1.50
+++ e-shell-window-commands.c	14 Jul 2006 09:43:00 -0000
@@ -796,6 +796,9 @@ update_offline_menu_item (EShellWindow *
 			  EShellLineStatus line_status)
 {
 	BonoboUIComponent *ui_component;
+	char str[6][40]={"/commands/FolderCreate","/commands/FolderCopy","/commands/FolderMove",
+			 "/commands/ToolsSubscriptions","/commands/FolderRename","/commands/FolderDelete"};
+	int i;
 
 	ui_component = e_shell_window_peek_bonobo_ui_component (shell_window);
 
@@ -807,6 +810,10 @@ update_offline_menu_item (EShellWindow *
 		bonobo_ui_component_set_prop (ui_component,
 					      "/menu/File/ToggleOffline",
 					      "verb", "WorkOnline", NULL);
+
+		for ( i = 0; i < 6; ++i )
+			bonobo_ui_component_set_prop (ui_component, str[i],"sensitive", "0", NULL);
+
 		bonobo_ui_component_set_prop (ui_component,
 					      "/commands/ToggleOffline",
 					      "sensitive", "1", NULL);
@@ -820,6 +827,10 @@ update_offline_menu_item (EShellWindow *
 		bonobo_ui_component_set_prop (ui_component,
 					      "/menu/File/ToggleOffline",
 					      "verb", "WorkOffline", NULL);
+		
+		for ( i = 0; i < 6; ++i )
+			bonobo_ui_component_set_prop (ui_component, str[i],"sensitive", "1", NULL);
+
 		bonobo_ui_component_set_prop (ui_component,
 					      "/commands/ToggleOffline",
 					      "sensitive", "1", NULL);
@@ -833,6 +844,10 @@ update_offline_menu_item (EShellWindow *
 		bonobo_ui_component_set_prop (ui_component,
 					      "/menu/File/ToggleOffline",
 					      "verb", "WorkOffline", NULL);
+
+		for ( i = 0; i < 6; ++i )
+			bonobo_ui_component_set_prop (ui_component, str[i],"sensitive", "0", NULL);
+
 		bonobo_ui_component_set_prop (ui_component,
 					      "/commands/ToggleOffline",
 					      "sensitive", "0", NULL);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1585
diff -u -p -r1.1585 ChangeLog
--- ChangeLog	13 Jul 2006 18:16:53 -0000	1.1585
+++ ChangeLog	14 Jul 2006 09:43:12 -0000
@@ -1,3 +1,8 @@
+2006-06-29   Arvind <sa.phoenix@gmail.com>
+		
+	** Fix for bug#311093
+	* e-shell-window-commands.c : Disabled offline folder options
+
 2006-06-21  Srinivasa Ragavan  <sragavan@novell.com>
 
 	* e-user-creatable-items-handler.c: (setup_toolbar_button): Fixed a
