From c2a0bf66ba4970b4a5afb29cfbadeaabbea88d4f Mon Sep 17 00:00:00 2001 From: 5 Date: Sat, 15 Sep 2001 08:13:41 +0000 Subject: Major rewrite of most of the guts, handle changes based on signals and 2001-09-15 * mail-vfolder.c: Major rewrite of most of the guts, handle changes based on signals and events, etc. Use the main storage handling code that imap uses, etc. * mail-tools.c (mail_tool_uri_to_folder): Dont special case vfolder: anymore. * component-factory.c (owner_set_cb): use vfolder_load_storage(), new function to setup vfolder storage, after interaction has been enabled only. This might need some tweaking ... (storage_remove_folder): Removed all the folder lookup stuff. Just delete the folder based on the path passed in. There should be no reason this wouldn't work, right? 2001-09-14 * mail-ops.c (get_folderinfo_get): Only add vtrash folder info, if store supports vtrash. * component-factory.c (mail_load_storage_by_uri): Let 'vfolder' stores show up too. 2001-09-13 * mail-vfolder.c (vfolder_uri_to_folder): Open a vfolder then set its expression, since name?query open method is removed. svn path=/trunk/; revision=12856 --- mail/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 15fe17c4e9..b8f8e29df4 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1117,7 +1117,7 @@ get_folderinfo_get (struct _mail_msg *mm) flags |= CAMEL_STORE_FOLDER_INFO_SUBSCRIBED; m->info = camel_store_get_folder_info (m->store, NULL, flags, &mm->ex); - if (m->info && m->info->url) + if (m->info && m->info->url && (m->store->flags & CAMEL_STORE_VTRASH)) add_vtrash_info (m->store, m->info); } -- cgit v1.2.3