aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/message-list.c3
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ae1b471224..8a8cfc050f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2001-01-06 Christopher James Lahey <clahey@helixcode.com>
+
+ * 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.
+
2001-01-06 Jeffrey Stedfast <fejj@helixcode.com>
* mail-account-editor.c: Coded a bunch of the methods.
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);