aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-07 14:48:38 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-07 14:48:38 +0800
commit27176351ae38247a7b7c656e73727d704b12c63e (patch)
tree1ef7b1d5d6dba2fc33803dc1c512d654a4b5225a /mail/em-folder-browser.c
parent3fcf0b4edc4e1a95ceae5693bd7a65690c3251f6 (diff)
downloadgsoc2013-evolution-27176351ae38247a7b7c656e73727d704b12c63e.tar.gz
gsoc2013-evolution-27176351ae38247a7b7c656e73727d704b12c63e.tar.zst
gsoc2013-evolution-27176351ae38247a7b7c656e73727d704b12c63e.zip
** See bug #57935.
2004-05-07 Not Zed <NotZed@Ximian.com> ** 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
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c4
1 files changed, 2 insertions, 2 deletions
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;