Commit Graph

4 Commits

Author SHA1 Message Date
3be64e5b65 Pass NULL, not "/" for @top.
* mail-vtrash.c (get_trash_get): Pass NULL, not "/" for @top.

	* mail-callbacks.c (create_folders): Make this work with
	CamelStores where the separator character isn't /. folder_created
	and folder_deleted are still broken.

svn path=/trunk/; revision=8306
2001-02-20 22:32:59 +00:00
56d92e7eaf Include the camel-vee-store.h header from the uninstalled copy.
2001-02-20  Not Zed  <NotZed@Ximian.com>

        * mail-vtrash.c: Include the camel-vee-store.h header from the
        uninstalled copy.

svn path=/trunk/; revision=8301
2001-02-20 03:52:03 +00:00
ac1b347939 Add the auto-update flag to the folder open flags.
2001-02-20  Not Zed  <NotZed@Ximian.com>

        * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag
        to the folder open flags.

svn path=/trunk/; revision=8297
2001-02-20 03:15:10 +00:00
63f1ba7ab1 New handy dandy function to ref and return the vfolder storage (will
2001-02-19  Jeffrey Stedfast  <fejj@ximian.com>

	* 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
2001-02-19 23:38:53 +00:00