aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-03-15 06:23:06 +0800
committerDan Winship <danw@src.gnome.org>2002-03-15 06:23:06 +0800
commit7df203024eea8aecb4f5a6735423d6b006f9f3e8 (patch)
treef76651da2563b72803f8d48551cf673ac2bddaaf /mail/mail-folder-cache.c
parent86b700d089bfb9565c3792ff3df1a1ac6cf225c3 (diff)
downloadgsoc2013-evolution-7df203024eea8aecb4f5a6735423d6b006f9f3e8.tar.gz
gsoc2013-evolution-7df203024eea8aecb4f5a6735423d6b006f9f3e8.tar.zst
gsoc2013-evolution-7df203024eea8aecb4f5a6735423d6b006f9f3e8.zip
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
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c5
1 files changed, 1 insertions, 4 deletions
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);