diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-01-27 01:13:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-27 01:13:54 +0800 |
commit | 2d09b13476bc3a09f959f82b3f00729cb077773f (patch) | |
tree | 67676accd24b9ec8882e6590fdc2baa1eddde803 | |
parent | 06ae1bac42c987d3592883cceb55eaaa1be2514f (diff) | |
download | gsoc2013-evolution-2d09b13476bc3a09f959f82b3f00729cb077773f.tar.gz gsoc2013-evolution-2d09b13476bc3a09f959f82b3f00729cb077773f.tar.zst gsoc2013-evolution-2d09b13476bc3a09f959f82b3f00729cb077773f.zip |
Use FOLDER_INFO_FAST bitflag here, since we don't care about unread counts
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.
svn path=/trunk/; revision=24440
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 6 |
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; |