aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 05:10:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 05:10:12 +0800
commit63fe218a169ff409d8be7f85f9838c86b4cba3f1 (patch)
tree73ca580ae96536fc3d05e9978ad825e4b6020c2e /mail/mail-folder-cache.c
parentfd046121c7ca04a26321637bec344c470439d0f2 (diff)
downloadgsoc2013-evolution-63fe218a169ff409d8be7f85f9838c86b4cba3f1.tar.gz
gsoc2013-evolution-63fe218a169ff409d8be7f85f9838c86b4cba3f1.tar.zst
gsoc2013-evolution-63fe218a169ff409d8be7f85f9838c86b4cba3f1.zip
Handle vtrash case, emit 'folder_created' event for the folder-cache to
2001-10-03 <NotZed@Ximian.com> * mail-local.c (local_storage_new_folder_cb): Handle vtrash case, emit 'folder_created' event for the folder-cache to work, etc. svn path=/trunk/; revision=13387
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 3212fce3ff..c99637cb09 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -205,7 +205,7 @@ folder_finalised(CamelObject *o, gpointer event_data, gpointer user_data)
{
struct _folder_info *mfi = user_data;
- d(printf("Folder finalised!\n"));
+ (printf("Folder finalised '%s'!\n", ((CamelFolder *)o)->full_name));
mfi->folder = NULL;
}
@@ -265,7 +265,7 @@ real_folder_created(CamelStore *store, void *event_data, CamelFolderInfo *fi)
{
struct _store_info *si;
- (printf("real_folder_created: %s (%s)\n", fi->full_name, fi->url));
+ d(printf("real_folder_created: %s (%s)\n", fi->full_name, fi->url));
LOCK(info_lock);
si = g_hash_table_lookup(stores, store);
@@ -293,7 +293,7 @@ store_folder_created(CamelObject *o, void *event_data, void *data)
static void
real_folder_deleted(CamelStore *store, void *event_data, CamelFolderInfo *fi)
{
- (printf("real_folder_deleted: %s (%s)\n", fi->full_name, fi->url));
+ d(printf("real_folder_deleted: %s (%s)\n", fi->full_name, fi->url));
if (strstr(fi->url, ";noselect") == NULL)
mail_vfolder_remove_uri(store, fi->url);