[evolution-patches] workaround for connector slowness




no idea if it will work.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3438
diff -u -3 -r1.3438 ChangeLog
--- mail/ChangeLog	24 Aug 2004 02:54:03 -0000	1.3438
+++ mail/ChangeLog	25 Aug 2004 14:53:27 -0000
@@ -1,3 +1,14 @@
+2004-08-25  Not Zed  <NotZed Ximian com>
+
+	* mail-component.c (store_info_new): only open the trash or junk
+	if they're vfolders here.  Some stores that implement their own
+	trash folders are unacceptably slow to open otherwise.
+
+	** See bug #63177.
+
+	* em-folder-tree.c (tree_drag_data_received): if its a store,
+	override full_name == NULL so we don't quit.
+
 2004-08-23  Not Zed  <NotZed Ximian com>
 
 	* em-folder-tree.c (em_folder_tree_set_selected): store the
Index: mail/mail-component.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-component.c,v
retrieving revision 1.95
diff -u -3 -r1.95 mail-component.c
--- mail/mail-component.c	26 Jul 2004 06:41:39 -0000	1.95
+++ mail/mail-component.c	25 Aug 2004 14:53:28 -0000
@@ -149,8 +149,12 @@
 		si->name = g_strdup(name);
 	si->store = store;
 	camel_object_ref(store);
-	si->vtrash = camel_store_get_trash(store, NULL);
-	si->vjunk = camel_store_get_junk(store, NULL);
+	/* If these are vfolders then they need to be opened now,
+	 * otherwise they wont keep track of all folders */
+	if ((store->flags & CAMEL_STORE_VTRASH) != 0)
+		si->vtrash = camel_store_get_trash(store, NULL);
+	if ((store->flags & CAMEL_STORE_VJUNK) != 0)
+		si->vjunk = camel_store_get_junk(store, NULL);
 
 	return si;
 }


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