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/folder-browser-factory.c | |
parent | 364cdf26e787ac19200de24beb147c9ac229c16b (diff) | |
download | gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.gz gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.bz2 gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.lz gsoc2013-evolution-f30f7c9229f581132a2fdebe61f16e877e11c68b.tar.xz 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/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index a8a4c09b3f..558308a6f7 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -278,7 +278,7 @@ control_activate (BonoboControl *control, bonobo_ui_component_thaw (uic, NULL); if (fb->folder) - mail_sync_folder (fb->folder, NULL, NULL); + mail_refresh_folder (fb->folder, NULL, NULL); } static void |