From bd1a57fc80b824adef52020b9b45b7810f1dad35 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 22 Jan 2001 18:47:01 +0000 Subject: Function to add a store/storage mapping. (add_storage): Use it. * component-factory.c (mail_hash_storage): Function to add a store/storage mapping. (add_storage): Use it. * mail-vfolder.c (vfolder_uri_to_folder): Use the vfolder name rather than the string "mbox" (which wasn't ever used for anything) in the vfolder URL. (Combined with the CamelVeeFolder change, this makes camel_folder_get_name() return a pretty name for vfolders now.) Call mail_hash_storage() to record the CamelVeeStore/vfolder_storage mapping. (Ideally, there'd only be a single CamelVeeStore... this is just a quick hack.) vfolders now display their unread count once you've looked at them once. svn path=/trunk/; revision=7712 --- mail/mail.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail.h') diff --git a/mail/mail.h b/mail/mail.h index e23fbd2812..c80cabfa52 100644 --- a/mail/mail.h +++ b/mail/mail.h @@ -69,5 +69,6 @@ GtkWidget *mail_view_create (CamelFolder *source, const char *uid, CamelMimeMess /* component factory for lack of a better place */ /*takes a GSList of MailConfigServices */ void mail_load_storages (GNOME_Evolution_Shell shell, const GSList *sources, gboolean is_account_data); -/* used in the subscribe dialog code */ + +void mail_hash_storage (CamelService *store, EvolutionStorage *storage); EvolutionStorage *mail_lookup_storage (CamelStore *store); -- cgit v1.2.3