diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-20 07:38:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-20 07:38:53 +0800 |
commit | 63f1ba7ab140cada16c54ad9913a3f95ff565410 (patch) | |
tree | f9b4b1859a92a3963266455d8e6e5e28af981089 /mail/mail-ops.h | |
parent | d0cb488f876f17c41e03beec37ecae3b79971294 (diff) | |
download | gsoc2013-evolution-63f1ba7ab140cada16c54ad9913a3f95ff565410.tar.gz gsoc2013-evolution-63f1ba7ab140cada16c54ad9913a3f95ff565410.tar.zst gsoc2013-evolution-63f1ba7ab140cada16c54ad9913a3f95ff565410.zip |
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
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index eb47c68c4f..3ef3239100 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -43,7 +43,6 @@ void mail_do_append_mail (CamelFolder *folder, void mail_do_transfer_messages (CamelFolder *source, GPtrArray *uids, gboolean delete_from_source, gchar *dest_uri); -void mail_do_setup_trash (const char *name, const char *store_uri, CamelFolder **folder); /* get a single message, asynchronously */ void mail_get_message(CamelFolder *folder, const char *uid, @@ -58,9 +57,6 @@ void mail_get_messages(CamelFolder *folder, GPtrArray *uids, int mail_get_folder(const char *uri, void (*done) (char *uri, CamelFolder *folder, void *data), void *data); -int mail_get_trash (const char *uri, - void (*done) (char *store_uri, CamelFolder *folder, void *data), void *data); - /* and for a store */ int mail_get_store(const char *uri, void (*done) (char *uri, CamelStore *store, void *data), void *data); @@ -119,7 +115,3 @@ void mail_filter_folder(CamelFolder *source_folder, GPtrArray *uids, /* convenience function for above */ void mail_filter_on_demand(CamelFolder *folder, GPtrArray *uids); - - - - |