Made it so that going to the next or previous message in the list will at
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. svn path=/trunk/; revision=7288
This commit is contained in:
committed by
Chris Lahey
parent
670a2b34ff
commit
df57651390
@ -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.
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user