diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-02 03:30:39 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-02 03:30:39 +0800 |
commit | 9861660fdf5558f92f87387dce77a8d34013ef44 (patch) | |
tree | 1b9992fdc8f425eb7b3c967010a0aed9155de8f7 /mail/mail-folder-cache.c | |
parent | 1b7da17c253261888de022fa0d6bebaa2d63df7a (diff) | |
download | gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.tar.gz gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.tar.zst gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.zip |
add a CamelOperation for overriding status handler.
2003-07-29 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c (mail_note_store): add a CamelOperation for
overriding status handler.
* mail-send-recv.c (receive_update_got_store): Pass our own cancel
handle to get_folderinfo and mail_note_store.
(mail_send_receive, mail_receive_uri): Same for get_store.
* mail-ops.c (mail_get_store, mail_get_folderinfo): Add a
CamelOperation argument, for overriding the status handler. Fixed
most calles to pass NULL to use the default.
svn path=/trunk/; revision=22056
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 6803119733..ed50689630 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -809,7 +809,7 @@ store_online_cb (CamelStore *store, void *data) if (g_hash_table_lookup(stores, store) != NULL) { /* re-use the cancel id. we're already in the store update list too */ - ud->id = mail_get_folderinfo(store, update_folders, ud); + ud->id = mail_get_folderinfo(store, NULL, update_folders, ud); } else { /* the store vanished, that means we were probably cancelled, or at any rate, need to clean ourselves up */ @@ -820,7 +820,7 @@ store_online_cb (CamelStore *store, void *data) } void -mail_note_store(CamelStore *store, EvolutionStorage *storage, GNOME_Evolution_Storage corba_storage, +mail_note_store(CamelStore *store, CamelOperation *op, EvolutionStorage *storage, GNOME_Evolution_Storage corba_storage, void (*done)(CamelStore *store, CamelFolderInfo *info, void *data), void *data) { struct _store_info *si; @@ -887,7 +887,7 @@ mail_note_store(CamelStore *store, EvolutionStorage *storage, GNOME_Evolution_St ud = g_malloc (sizeof (*ud)); ud->done = done; ud->data = data; - ud->id = mail_get_folderinfo (store, update_folders, ud); + ud->id = mail_get_folderinfo (store, op, update_folders, ud); e_dlist_addtail (&si->folderinfo_updates, (EDListNode *) ud); } |