aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-07 12:36:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-07 12:36:26 +0800
commit48ad64875b482b16f35de414f51b37533ca506bb (patch)
tree314bee7cd653f496959bb91db3753a7bd885219f /mail/em-folder-view.c
parent13dfba8729e2105f6a9e8f3d01e6c21d30cfb13f (diff)
downloadgsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar.gz
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar.bz2
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar.lz
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar.xz
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.tar.zst
gsoc2013-evolution-48ad64875b482b16f35de414f51b37533ca506bb.zip
** See #58017.
2004-05-07 Not Zed <NotZed@Ximian.com> ** See #58017. * message-list.c (mail_regen_list): use thread_queued, so we don't regen out of order. * em-folder-view.c (emfv_list_message_selected): use the queue thread so we don't get messages out of order. * mail-ops.c (mail_transfer_messages): use thread_queued_slow. (mail_prep_offline): and here too. svn path=/trunk/; revision=25819
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 10e8be6600..09ba0c6360 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1916,15 +1916,14 @@ emfv_list_done_message_selected(CamelFolder *folder, const char *uid, CamelMimeM
static void
emfv_list_message_selected(MessageList *ml, const char *uid, EMFolderView *emfv)
{
- /* FIXME: ui stuff based on messageinfo, if available */
-
if (emfv->preview_active) {
if (uid) {
if (emfv->displayed_uid == NULL || strcmp(emfv->displayed_uid, uid) != 0) {
g_free(emfv->displayed_uid);
emfv->displayed_uid = g_strdup(uid);
g_object_ref (emfv);
- mail_get_message(emfv->folder, uid, emfv_list_done_message_selected, emfv, mail_thread_new);
+ /* TODO: we should manage our own thread stuff, would make cancelling outstanding stuff easier */
+ mail_get_message(emfv->folder, uid, emfv_list_done_message_selected, emfv, mail_thread_queued);
}
} else {
g_free(emfv->displayed_uid);