Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2548
diff -u -p -r1.2548 ChangeLog
--- ChangeLog	7 Jul 2006 15:03:44 -0000	1.2548
+++ ChangeLog	13 Jul 2006 11:07:04 -0000
@@ -1,3 +1,8 @@
+2006-07-13  Johnny Jacob  <jjohnny@novell.com>
+
+	* camel-store.c (camel_store_noop): Dont try to noop when
+	offline.Fixes #333821
+	
 2006-07-07  Jeffrey Stedfast  <fejj@novell.com>
 
 	* camel-string-utils.c (camel_pstring_add): If the value is in the
Index: camel-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-store.c,v
retrieving revision 1.173
diff -u -p -r1.173 camel-store.c
--- camel-store.c	12 Apr 2006 19:14:13 -0000	1.173
+++ camel-store.c	13 Jul 2006 11:07:11 -0000
@@ -1180,7 +1180,11 @@ noop (CamelStore *store, CamelException 
 void
 camel_store_noop (CamelStore *store, CamelException *ex)
 {
-	CS_CLASS (store)->noop (store, ex);
+	CamelService *service = CAMEL_SERVICE (store);
+	gboolean online = camel_session_is_online (service->session);
+
+	if (online) {
+		CS_CLASS (store)->noop (store, ex);
 }
 
 
