From c4652e9705eca58c35da9ef64349e7032e3ea9c0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Nov 2003 22:33:14 +0000 Subject: Updated for function name changes in mail-component.c 2003-11-13 Jeffrey Stedfast * mail-vfolder.c (vfolder_load_storage): Updated for function name changes in mail-component.c * mail-offline-handler.c: Updated for function name changes in mail-component.c * mail-account-gui.c (add_new_store): Fixed to not use EStorage. (mail_account_gui_save): Updated for function name changes. * em-account-prefs.c (account_delete_clicked): Updated for function name changes. (account_able_clicked): Same. (account_able_toggled): Same. * mail-component.c: Renamed mail_component_*storage*() functions to mail_component_*store*() since we are no longer dealing with storages, but instead with CamelStore's. (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23341 --- mail/mail-offline-handler.c | 1 + mail/mail-vfolder.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c index 6a44b05712..85161a8f8e 100644 --- a/mail/mail-offline-handler.c +++ b/mail/mail-offline-handler.c @@ -36,6 +36,7 @@ #include + #define PARENT_TYPE bonobo_object_get_type () static BonoboObjectClass *parent_class = NULL; diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index b8161d7e59..e474ea70db 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -774,10 +774,10 @@ vfolder_load_storage(void) (CamelObjectEventHookFunc)store_folder_deleted, NULL); camel_object_hook_event(vfolder_store, "folder_renamed", (CamelObjectEventHookFunc)store_folder_renamed, NULL); - + d(printf("got store '%s' = %p\n", storeuri, vfolder_store)); - mail_component_load_storage_by_uri(mail_component_peek (), storeuri, _("VFolders")); - + mail_component_load_store_by_uri (mail_component_peek (), storeuri, _("VFolders")); + /* load our rules */ user = g_strdup_printf ("%s/mail/vfolders.xml", mail_component_peek_base_directory (mail_component_peek ())); context = vfolder_context_new (); -- cgit v1.2.3