diff options
-rw-r--r-- | mail/em-folder-browser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 7341f91543..19c73c8d9c 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -708,6 +708,7 @@ emfb_list_built(MessageList *ml, EMFolderBrowser *emfb) g_signal_handler_disconnect(ml, emfb->priv->list_built_id); emfb->priv->list_built_id = 0; + /* FIXME: if the 1st message in the list is unread, this will actually select the second unread msg */ if (((EMFolderView *)emfb)->list->cursor_uid == NULL) message_list_select(((EMFolderView *)emfb)->list, MESSAGE_LIST_SELECT_NEXT, 0, CAMEL_MESSAGE_SEEN, TRUE); @@ -726,7 +727,7 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri) em_folder_browser_show_preview((EMFolderBrowser *)emfv, sstate[0] != '0'); if ((sstate = camel_object_meta_get(folder, "evolution:thread_list"))) - message_list_set_threaded(emfv->list, sstate[0] == '1'); + message_list_set_threaded(emfv->list, sstate[0] != '0'); if (emfv->list->cursor_uid == NULL && ((EMFolderBrowser *)emfv)->priv->list_built_id == 0) ((EMFolderBrowser *)emfv)->priv->list_built_id = |