diff options
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/em-folder-view.c | 1 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b2e33244d5..bc7604cffe 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,11 @@ 2004-04-13 Not Zed <NotZed@Ximian.com> + * mail-ops.c (mail_refresh_folder): run this in the + thread_queued_slow, so it runs in sequence and after folder_sync. + + * em-folder-view.c (emfv_set_folder): fire off a refresh_folder + once the folder is loaded. Addresses #56871. + * em-format-html.c (efh_format_headers): use %% for %%. (efh_format_done): reset load_http_now once we've done, should fix #56338 finally. diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index dc877498b3..255cb9c3a6 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -397,6 +397,7 @@ emfv_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri) emfv->priv->folder_changed_id = camel_object_hook_event(folder, "folder_changed", (CamelObjectEventHookFunc)emfv_folder_changed, emfv); camel_object_ref(folder); + mail_refresh_folder(folder, NULL, NULL); } emfv_enable_menus(emfv); diff --git a/mail/mail-ops.c b/mail/mail-ops.c index ca80fffa7d..cf0c6fb62e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1557,7 +1557,7 @@ mail_refresh_folder(CamelFolder *folder, void (*done) (CamelFolder *folder, void m->data = data; m->done = done; - e_thread_put(mail_thread_new, (EMsg *)m); + e_thread_put(mail_thread_queued_slow, (EMsg *)m); } /* ******************************************************************************** */ |