[evolution-patches] Proposed patch that fixes code that makes no sense in Camel



Removed code that makes no sense and blocks getting a list of
non-subscribed folders when the store is offline.

Waiting for approval to commit.

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2552
diff -u -r1.2552 ChangeLog
--- ChangeLog	23 Aug 2006 08:39:24 -0000	1.2552
+++ ChangeLog	23 Aug 2006 15:17:18 -0000
@@ -1,3 +1,9 @@
+2006-08-23 Philip Van Hoof  <pvanhoof gnome org>
+
+	* camel-disco-store.c: Removed code that makes no sense and
+	blocks getting a list of non-subscribed folders when the store
+	is offline.
+	
 2006-08-23  Wang Xin  <jedy wang sun com>
 
 	Fixes bug #352109.
Index: camel-disco-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-disco-store.c,v
retrieving revision 1.18
diff -u -r1.18 camel-disco-store.c
--- camel-disco-store.c	22 Dec 2005 01:48:30 -0000	1.18
+++ camel-disco-store.c	23 Aug 2006 15:17:18 -0000
@@ -254,13 +254,6 @@
 		return CDS_CLASS (store)->get_folder_info_online (store, top, flags, ex);
 		
 	case CAMEL_DISCO_STORE_OFFLINE:
-		/* Can't edit subscriptions while offline */
-		if ((store->flags & CAMEL_STORE_SUBSCRIPTIONS) &&
-		    !(flags & CAMEL_STORE_FOLDER_INFO_SUBSCRIBED)) {
-			camel_disco_store_check_online (disco_store, ex);
-			return NULL;
-		}
-		
 		return CDS_CLASS (store)->get_folder_info_offline (store, top, flags, ex);
 		
 	case CAMEL_DISCO_STORE_RESYNCING:


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