aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
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);