From 63f1ba7ab140cada16c54ad9913a3f95ff565410 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Feb 2001 23:38:53 +0000 Subject: New handy dandy function to ref and return the vfolder storage (will 2001-02-19 Jeffrey Stedfast * mail-vfolder.c (mail_vfolder_get_vfolder_storage): New handy dandy function to ref and return the vfolder storage (will probably be disavowed once I figure out how to get the vTrash folder to show up in the EvolutionLocalStorage). * main.c (main): Call vtrash_cleanup(). * mail-vtrash.c: New file. (vtrash_uri_to_folder): vtrash: URI handler (vtrash_create): Replacement async vtrash function for the old one in mail-ops.c (vtrash_cleanup): Cleanup code - unrefs the cached vtrash folders and free's the hashtable. * Makefile.am: Added mail-vtrash.[c,h]. * mail-tools.c (mail_tool_uri_to_folder): If we have a vtrash: URI, call the vtrash URI handler function rather than continuing on. Yes, I know this is a hack and it needs to be fixed. * mail-ops.c (mail_do_setup_trash): Removed. (mail_trash_get): Removed. * component-factory.c (owner_set_cb): Create the vTrash folder for the LocalStore here. * mail-local.c (get_folder_info): Implement. svn path=/trunk/; revision=8288 --- mail/mail-local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-local.c') diff --git a/mail/mail-local.c b/mail/mail-local.c index 2d63168dc3..0cdc45daac 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -629,7 +629,7 @@ mail_local_storage_startup (EvolutionShellClient *shellclient, camel_object_unref (CAMEL_OBJECT (local_store)); return; } - + local_store->local_storage_listener = evolution_storage_listener_new (); corba_local_storage_listener = -- cgit v1.2.3