diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-07 11:45:50 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-07 11:45:50 +0800 |
commit | df57651390a172b0192b2dd158d24ec9ff271d83 (patch) | |
tree | 5706fd4ca873e47e5fce4c3febb99683b0946a53 | |
parent | 670a2b34ff6e9a3912ea8fcb93cea9f6b83317d8 (diff) | |
download | gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar.gz gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar.bz2 gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar.lz gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar.xz gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.tar.zst gsoc2013-evolution-df57651390a172b0192b2dd158d24ec9ff271d83.zip |
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
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/message-list.c | 3 |
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); |