diff options
author | Dan Winship <danw@src.gnome.org> | 2001-06-29 00:50:09 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-06-29 00:50:09 +0800 |
commit | a357fc5b44d807a81b066960e584787e263cd7d1 (patch) | |
tree | 6d4c95c0dbe5cf63d37a3ae11c0c99a69a228703 /camel/providers/imap/camel-imap-folder.h | |
parent | 311491b26baf67164d5486b13cf794c29d6000cf (diff) | |
download | gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar.gz gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar.bz2 gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar.lz gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar.xz gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.tar.zst gsoc2013-evolution-a357fc5b44d807a81b066960e584787e263cd7d1.zip |
If the folder is frozen, don't refresh, just record that we need to do it
* providers/imap/camel-imap-folder.c (imap_refresh_info): If the
folder is frozen, don't refresh, just record that we need to do it
later.
(imap_append_online): If the APPEND doesn't trigger an immediate
EXISTS response (because the folder isn't the selected folder, or
because the server doesn't do that until the next command), call
imap_refresh_info on the folder.
(imap_copy_online): Likewise. (Replacing the unconditional NOOP
that was there before, which absolutely killed filter performance
by forcing the IMAP provider to switch back and forth between
folders after every copy or move.)
(imap_thaw): If the folder needs a refresh, do it.
* camel-folder.c (camel_folder_is_frozen): New method
svn path=/trunk/; revision=10565
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.h')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.h b/camel/providers/imap/camel-imap-folder.h index 8f358e656c..295cfd041e 100644 --- a/camel/providers/imap/camel-imap-folder.h +++ b/camel/providers/imap/camel-imap-folder.h @@ -48,7 +48,7 @@ struct _CamelImapFolder { struct _CamelImapFolderPrivate *priv; - gboolean need_rescan; + gboolean need_rescan, need_refresh; CamelFolderSearch *search; CamelImapMessageCache *cache; }; |