diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-27 01:22:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-27 01:22:53 +0800 |
commit | f30f7c9229f581132a2fdebe61f16e877e11c68b (patch) | |
tree | 06ef5bafef9c8ca9767c44649a56df69dd880f66 /mail/mail-ops.h | |
parent | 364cdf26e787ac19200de24beb147c9ac229c16b (diff) | |
download | gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.gz gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.zst gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.zip |
When unreffing a folder we got ourselves (as opposed to one passed in by
* mail-ops.c (mail_send_message, transfer_messages_transfer,
set_offline_do): When unreffing a folder we got ourselves (as
opposed to one passed in by the caller), sync before unreffing,
since we might be holding the only reference to it.
(mail_refresh_folder): New op, like mail_sync_folder, but does a
camel_folder_refresh_info instead.
* folder-browser-factory.c (control_activate): Call
mail_refresh_folder, not mail_sync_folder. (The goal is to see new
messages: sync used to work with imap because imap_sync was
broken, but it doesn't work for that any more.)
svn path=/trunk/; revision=10011
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index e6677c4443..205684da94 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -81,6 +81,10 @@ void mail_sync_folder (CamelFolder *folder, void (*done) (CamelFolder *folder, void *data), void *data); +void mail_refresh_folder (CamelFolder *folder, + void (*done) (CamelFolder *folder, void *data), + void *data); + void mail_expunge_folder (CamelFolder *folder, void (*done) (CamelFolder *folder, void *data), void *data); |