From 7d0353e2687bb60018421e2c9c885c9e9794ae7b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 28 Jul 2004 02:55:52 +0000 Subject: ** See #57972. 2004-07-27 Not Zed ** See #57972. * message-list.c (search_func): removed. (ml_search_path): new function to just search, not actually change the cursor like e_tree_find does. (message_list_can_select): new function, returns true if the selection specified is possible without changing the selection. (message_list_select): rewritten. (select_path): helper to select a path in a way that 'works reliably'. (message_list_select_next_thread): rewritten to use the table-adapter, so it properly handles arbitrary sorting. * em-folder-view.c (em_folder_view_get_popup_target): setup next/prev flags as appropriate. (emfv_enable_map[]): setup next/prev flags. * em-folder-view.h: added last and first message status bits to folder view select mask. svn path=/trunk/; revision=26749 --- mail/em-folder-view.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/em-folder-view.h') diff --git a/mail/em-folder-view.h b/mail/em-folder-view.h index 279e9ab0ea..3cf9586bb4 100644 --- a/mail/em-folder-view.h +++ b/mail/em-folder-view.h @@ -47,7 +47,9 @@ typedef struct _EMFolderViewEnable EMFolderViewEnable; enum { EM_FOLDER_VIEW_SELECT_THREADED = EM_POPUP_SELECT_LAST, EM_FOLDER_VIEW_SELECT_HIDDEN = EM_POPUP_SELECT_LAST<<1, - EM_FOLDER_VIEW_SELECT_LAST = EM_POPUP_SELECT_LAST<<2, + EM_FOLDER_VIEW_SELECT_NEXT_MSG = EM_POPUP_SELECT_LAST<<2, + EM_FOLDER_VIEW_SELECT_PREV_MSG = EM_POPUP_SELECT_LAST<<3, + EM_FOLDER_VIEW_SELECT_LAST = EM_POPUP_SELECT_LAST<<4, }; struct _EMFolderViewEnable { -- cgit