From 27176351ae38247a7b7c656e73727d704b12c63e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 7 May 2004 06:48:38 +0000 Subject: ** See bug #57935. 2004-05-07 Not Zed ** See bug #57935. * em-folder-view.c (emfv_set_message): add new arg, nomarkseen, don't mark the selected message seen once its loaded. (emfv_list_message_selected): clear the nomarkseen flag once we've processed the selection. (emfv_list_done_message_selected): handle the nomarkseen flag, don't mark a message seen if it was explictly selected. * em-folder-browser.c (emfb_list_built): use em_folder_view_select_message rather than doing it via the messagelist directly. svn path=/trunk/; revision=25821 --- mail/em-folder-browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/em-folder-browser.c') diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 4a208c7906..df15cb9230 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -313,7 +313,7 @@ void em_folder_browser_show_preview(EMFolderBrowser *emfb, gboolean state) char *uid = g_alloca(strlen(emfb->view.list->cursor_uid)+1); strcpy(uid, emfb->view.list->cursor_uid); - em_folder_view_set_message(&emfb->view, uid); + em_folder_view_set_message(&emfb->view, uid, TRUE); } /* need to load/show the current message? */ @@ -839,7 +839,7 @@ emfb_list_built (MessageList *ml, EMFolderBrowser *emfb) if (emfv->list->cursor_uid == NULL) { if (emfb->priv->select_uid) { - message_list_select_uid (ml, emfb->priv->select_uid); + em_folder_view_set_message(emfv, emfb->priv->select_uid, TRUE); g_free (emfb->priv->select_uid); emfb->priv->select_uid = NULL; -- cgit