From a66eae167484718678ceae7368c167aacb322b38 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 9 Dec 2000 00:55:57 +0000 Subject: Complete the code to associate a URI and a folder type to the toplevel node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878 --- mail/ChangeLog | 7 +++++++ mail/component-factory.c | 2 +- mail/mail-vfolder.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 7097b1a744..df089af812 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-12-07 Ettore Perazzoli + + * component-factory.c (add_storage): Pass `NULL' as the + @toplevel_node_handler_id arg in `evolution_storage_new()'. + FIXME: We should be passing the ID of the mail component here. + * mail-vfolder.c (vfolder_create_storage): Likewise. + 2000-12-08 Jeffrey Stedfast * message-list.c (message_list_get_layout): Set the "Size" field diff --git a/mail/component-factory.c b/mail/component-factory.c index a54f329a60..63a1d606a4 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -223,7 +223,7 @@ add_storage (const char *uri, CamelService *store, char *name; name = camel_service_get_name (store, TRUE); - storage = evolution_storage_new (name, NULL); + storage = evolution_storage_new (name, NULL, NULL); g_free (name); res = evolution_storage_register_on_shell (storage, corba_shell); diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index cc1821fc68..08bdc6771a 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -144,7 +144,7 @@ vfolder_create_storage(EvolutionShellComponent *shell_component) corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); - storage = evolution_storage_new (_("VFolders"), NULL); + storage = evolution_storage_new (_("VFolders"), NULL, NULL); if (evolution_storage_register_on_shell (storage, corba_shell) != EVOLUTION_STORAGE_OK) { g_warning ("Cannot register storage"); return; -- cgit v1.2.3