diff options
-rw-r--r-- | OPS | 2 | ||||
-rw-r--r-- | UPDATING | 1 | ||||
-rw-r--r-- | curs_main.c | 6 | ||||
-rw-r--r-- | functions.h | 4 |
4 files changed, 7 insertions, 6 deletions
@@ -107,7 +107,7 @@ OP_MAIN_FIRST_MESSAGE "move to the first message" OP_MAIN_LAST_MESSAGE "move to the last message" OP_MAIN_LIMIT "show only messages matching a pattern" OP_MAIN_LINK_THREADS "link tagged message to the current one" -OP_MAIN_NEXT_FOLDER "open next folder with new mail" +OP_MAIN_NEXT_UNREAD_MAILBOX "open next mailbox with new mail" OP_MAIN_NEXT_NEW "jump to the next new message" OP_MAIN_NEXT_NEW_THEN_UNREAD "jump to the next new or unread message" OP_MAIN_NEXT_SUBTHREAD "jump to the next subthread" @@ -4,6 +4,7 @@ mutt. Please read this file carefully when upgrading your installation. The keys used are: !: modified feature, -: deleted feature, +: new feature + + next-unread-mailbox + $message_cache_clean (clean cache on sync) 1.5.15 (2007-04-06) diff --git a/curs_main.c b/curs_main.c index 88e34137..8e26dedb 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1052,7 +1052,7 @@ int mutt_index_menu (void) break; case OP_MAIN_CHANGE_FOLDER: - case OP_MAIN_NEXT_FOLDER: + case OP_MAIN_NEXT_UNREAD_MAILBOX: if (attach_msg) op = OP_MAIN_CHANGE_FOLDER_READONLY; @@ -1067,14 +1067,14 @@ int mutt_index_menu (void) cp = _("Open mailbox"); buf[0] = '\0'; - if ((op == OP_MAIN_NEXT_FOLDER) && Context && Context->path) + if ((op == OP_MAIN_NEXT_UNREAD_MAILBOX) && Context && Context->path) { strfcpy (buf, Context->path, sizeof (buf)); mutt_pretty_mailbox (buf); mutt_buffy (buf, sizeof (buf)); if (!buf[0]) { - mutt_error _("No new messages"); + mutt_error _("No mailboxes have new mail"); break; } } diff --git a/functions.h b/functions.h index 92386c4b..0464bb17 100644 --- a/functions.h +++ b/functions.h @@ -88,7 +88,7 @@ struct binding_t OpMain[] = { /* map: index */ { "break-thread", OP_MAIN_BREAK_THREAD, "#" }, { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" }, { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" }, - { "next-folder", OP_MAIN_NEXT_FOLDER, "," }, + { "next-unread-mailbox", OP_MAIN_NEXT_UNREAD_MAILBOX, NULL }, { "collapse-thread", OP_MAIN_COLLAPSE_THREAD, "\033v" }, { "collapse-all", OP_MAIN_COLLAPSE_ALL, "\033V" }, { "copy-message", OP_COPY_MESSAGE, "C" }, @@ -177,7 +177,7 @@ struct binding_t OpPager[] = { /* map: pager */ { "bounce-message", OP_BOUNCE_MESSAGE, "b" }, { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" }, { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" }, - { "next-folder", OP_MAIN_NEXT_FOLDER, "," }, + { "next-unread-mailbox", OP_MAIN_NEXT_UNREAD_MAILBOX, NULL }, { "copy-message", OP_COPY_MESSAGE, "C" }, { "decode-copy", OP_DECODE_COPY, "\033C" }, { "delete-message", OP_DELETE, "d" }, |