diff options
author | Not Zed <NotZed@Ximian.com> | 2004-04-13 19:43:48 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-13 19:43:48 +0800 |
commit | 00d9f591651c0666c108c6774d3619eaacf2fbd3 (patch) | |
tree | f87cad6d1040236f28a0adaeb970b8c93f533a98 /mail | |
parent | 0997d33f97202d25be663dedff412825101ca1f8 (diff) | |
download | gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar.gz gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar.bz2 gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar.lz gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar.xz gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.tar.zst gsoc2013-evolution-00d9f591651c0666c108c6774d3619eaacf2fbd3.zip |
run this in the thread_queued_slow, so it runs in sequence and after
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.
svn path=/trunk/; revision=25431
Diffstat (limited to 'mail')
-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); } /* ******************************************************************************** */ |