aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.h
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-view.h
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-view.h')
-rw-r--r--mail/em-folder-view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-view.h b/mail/em-folder-view.h
index 4918814e4b..4a84eadf33 100644
--- a/mail/em-folder-view.h
+++ b/mail/em-folder-view.h
@@ -102,7 +102,7 @@ struct _EMFolderViewClass {
void (*set_folder_uri)(EMFolderView *emfv, const char *uri);
void (*set_folder)(EMFolderView *emfv, struct _CamelFolder *folder, const char *uri);
- void (*set_message)(EMFolderView *emfv, const char *uid);
+ void (*set_message)(EMFolderView *emfv, const char *uid, int nomarkseen);
/* Signals */
void (*on_url)(EMFolderView *emfv, const char *uri, const char *nice_uri);
@@ -118,7 +118,7 @@ GtkWidget *em_folder_view_new(void);
#define em_folder_view_activate(emfv, uic, state) EM_FOLDER_VIEW_GET_CLASS (emfv)->activate((emfv), (uic), (state))
#define em_folder_view_set_folder(emfv, folder, uri) EM_FOLDER_VIEW_GET_CLASS (emfv)->set_folder((emfv), (folder), (uri))
#define em_folder_view_set_folder_uri(emfv, uri) EM_FOLDER_VIEW_GET_CLASS (emfv)->set_folder_uri((emfv), (uri))
-#define em_folder_view_set_message(emfv, uid) EM_FOLDER_VIEW_GET_CLASS (emfv)->set_message((emfv), (uid))
+#define em_folder_view_set_message(emfv, uid, nomarkseen) EM_FOLDER_VIEW_GET_CLASS (emfv)->set_message((emfv), (uid), (nomarkseen))
struct _EMPopupTarget *em_folder_view_get_popup_target(EMFolderView *emfv);