From b3bdc8f5ea9cb2a023257efa696e99bca0665a7b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 10 Jul 2000 20:13:59 +0000 Subject: Update message_list_select_next to do either next or previous. * message-list.c (message_list_select): Update message_list_select_next to do either next or previous. svn path=/trunk/; revision=4047 --- mail/message-list.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/message-list.h b/mail/message-list.h index 9a2a2cfe9d..46a42b4d2b 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -89,6 +89,11 @@ typedef void (*MessageListForeachFunc) (MessageList *message_list, const char *uid, gpointer user_data); +typedef enum { + MESSAGE_LIST_SELECT_NEXT = 1, + MESSAGE_LIST_SELECT_PREVIOUS = -1 +} MessageListSelectDirection; + GtkType message_list_get_type (void); BonoboObject *message_list_new (FolderBrowser *parent_folder_browser); void message_list_set_folder (MessageList *message_list, @@ -100,7 +105,9 @@ void message_list_foreach (MessageList *message_list, MessageListForeachFunc callback, gpointer user_data); -void message_list_select_next(MessageList *message_list, int row, +void message_list_select (MessageList *message_list, + int base_row, + MessageListSelectDirection direction, guint32 flags, guint32 mask); extern gboolean threaded_view; -- cgit