From 7df203024eea8aecb4f5a6735423d6b006f9f3e8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 14 Mar 2002 22:23:06 +0000 Subject: Remove "mailstorage", since it's not needed any more. (storage_activate): * component-factory.c (folder_types): Remove "mailstorage", since it's not needed any more. (storage_activate): Gone, although some of it is moved to storage_connect. (create_view): Remove mailstorage code. (add_storage): Connect to the storage's open_folder signal. Instead of creating a "mailstorage" folder, call evolution_storage_has_subfolders to let the shell know we haven't finished filling it in yet. (storage_connect): Handler for the storage's asyncOpenFolder signal. Call mail_note_store() to try to connect. (storage_connected): Callback for above. If the connection attempt failed, call evolution_storage_has_subfolders again to make the shell re-close the storage. * mail-folder-cache.c (update_folders): Remove a piece of mailstorage legacy code from here. svn path=/trunk/; revision=16170 --- mail/mail-folder-cache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mail/mail-folder-cache.c') diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index c7bd808369..a9479f3d36 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -711,11 +711,8 @@ update_folders(CamelStore *store, CamelFolderInfo *fi, void *data) /* otherwise its not, and we're on our own and free anyway */ e_dlist_remove((EDListNode *)ud); - if (fi) { - if (si->storage) - gtk_object_set_data (GTK_OBJECT (si->storage), "connected", GINT_TO_POINTER (TRUE)); + if (fi) create_folders(fi, si); - } } UNLOCK(info_lock); -- cgit