aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.h
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-08-11 02:25:31 +0800
committerJacob Leach <jleach@src.gnome.org>2001-08-11 02:25:31 +0800
commit854fb9e9b0d6a603f4167b7fafe2a59854bdbec5 (patch)
treee3e8b53236cfbeb822cc4e08e93ff7b35fb065d4 /mail/mail-folder-cache.h
parent7bad37e711be4c31e8880f28f067f046ac40aa33 (diff)
downloadgsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar.gz
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar.bz2
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar.lz
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar.xz
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.tar.zst
gsoc2013-evolution-854fb9e9b0d6a603f4167b7fafe2a59854bdbec5.zip
Remove all the messages from a folder that's being deleted before actually
2001-08-10 Jason Leach <jleach@ximian.com> * mail-ops.c (remove_folder_get): Remove all the messages from a folder that's being deleted before actually doing the camel_store_delete_folder, so it won't leave behind an mbox file that's going to prevent the actual directory from being deleted, and strange effects like new folders with the same name being made in it's place. Bug #5618. * mail-folder-cache.c (mail_folder_cache_remove_folder): New function, a way to get something out of the folder cache, like folders being deleted. Bug #6878. svn path=/trunk/; revision=11887
Diffstat (limited to 'mail/mail-folder-cache.h')
-rw-r--r--mail/mail-folder-cache.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h
index a3dcec526b..9902933cf8 100644
--- a/mail/mail-folder-cache.h
+++ b/mail/mail-folder-cache.h
@@ -32,18 +32,21 @@
#include "folder-browser.h"
-/* No real order that these functions should be called. The idea is that whenever a
- * chunk of the mailer gets some up-to-date information about a URI, it calls one
- * of the _note_ functions and the folder cache sees to it that the information is
- * put to good use.
+/* No real order that these functions should be called. The idea is
+ * that whenever a chunk of the mailer gets some up-to-date
+ * information about a URI, it calls one of the _note_ functions and
+ * the folder cache sees to it that the information is put to good
+ * use.
*
- * Thus there is no way to remove items from the cache. So it leaks a lot.
- */
+ * Thus there is no way to remove items from the cache. So it leaks a lot. */
void mail_folder_cache_set_update_estorage (const gchar *uri, EvolutionStorage *estorage);
void mail_folder_cache_set_update_lstorage (const gchar *uri,
GNOME_Evolution_Storage lstorage,
const gchar *path);
+
+void mail_folder_cache_remove_folder (const gchar *uri);
+
/* We always update the shell view */
/*void mail_folder_cache_set_update_shellview (const gchar *uri);*/