aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-11 04:13:59 +0800
committerDan Winship <danw@src.gnome.org>2000-07-11 04:13:59 +0800
commitb3bdc8f5ea9cb2a023257efa696e99bca0665a7b (patch)
treeaa516dc9147f1c3bc8203043d79adc5139809c20 /mail
parente17db743f3fef10ec8039b3f38254a9dce3f6c44 (diff)
downloadgsoc2013-evolution-b3bdc8f5ea9cb2a023257efa696e99bca0665a7b.tar.gz
gsoc2013-evolution-b3bdc8f5ea9cb2a023257efa696e99bca0665a7b.tar.zst
gsoc2013-evolution-b3bdc8f5ea9cb2a023257efa696e99bca0665a7b.zip
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
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.h9
1 files changed, 8 insertions, 1 deletions
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;