From df57651390a172b0192b2dd158d24ec9ff271d83 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 7 Jan 2001 03:45:50 +0000 Subject: Made it so that going to the next or previous message in the list will at 2001-01-06 Christopher James Lahey * message-list.c (message_list_select): Made it so that going to the next or previous message in the list will at least move one message, even if the current message matches the query. This makes 'n' go to the next unread message, even if the current message is unread. svn path=/trunk/; revision=7288 --- mail/message-list.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/message-list.c') diff --git a/mail/message-list.c b/mail/message-list.c index 035e71f4f3..bd5a848f41 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -386,6 +386,9 @@ message_list_select (MessageList *message_list, int base_row, /* model_to_view_row etc simply dont work for sorted views. Sigh. */ vrow = e_table_model_to_view_row (et, base_row); + if (vrow != last) + vrow += direction; + /* We don't know whether to use < or > due to "direction" */ while (vrow != last) { mrow = e_table_view_to_model_row (et, vrow); -- cgit