aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-folder-tree.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 87b1e60e0c..0ab9e2443a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-26 Jeffrey Stedfast <fejj@ximian.com>
+
+ * em-folder-tree.c (emft_copy_folders__copy): Use FOLDER_INFO_FAST
+ bitflag here, since we don't care about unread counts when copying
+ folders around.
+ (emft_popup_delete_folders): Same.
+ (emft_tree_row_expanded): Don't use FOLDER_INFO_FAST here.
+
2004-01-26 Radek Doulik <rodo@ximian.com>
* mail-session.c (main_get_filter_driver): translate DEMAND to
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index c374faf047..0ffc95b561 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -946,7 +946,7 @@ emft_tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *t
m->store = store;
m->emft = emft;
m->top = g_strdup (top);
- m->flags = CAMEL_STORE_FOLDER_INFO_FAST;
+ m->flags = 0;
m->select_uri = NULL;
e_thread_put (mail_thread_new, (EMsg *) m);
@@ -990,7 +990,7 @@ static void
emft_copy_folders__copy (struct _mail_msg *mm)
{
struct _EMCopyFolders *m = (struct _EMCopyFolders *) mm;
- guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE;
+ guint32 flags = CAMEL_STORE_FOLDER_INFO_FAST | CAMEL_STORE_FOLDER_INFO_RECURSIVE;
GList *pending = NULL, *deleting = NULL, *l;
GString *fromname, *toname;
CamelFolderInfo *fi;
@@ -1355,7 +1355,7 @@ emft_popup_delete_rec (CamelStore *store, CamelFolderInfo *fi, CamelException *e
static void
emft_popup_delete_folders (CamelStore *store, const char *path, CamelException *ex)
{
- guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE;
+ guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_FAST;
const char *full_name;
CamelFolderInfo *fi;