summarylogtreecommitdiffstats
path: root/sidebar-new.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sidebar-new.patch')
-rw-r--r--sidebar-new.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/sidebar-new.patch b/sidebar-new.patch
index ab17b6c936cf..fb2653463611 100644
--- a/sidebar-new.patch
+++ b/sidebar-new.patch
@@ -1,7 +1,7 @@
-From ed547aeb2c6f10da3639e5212b47f4e3aea450d6 Mon Sep 17 00:00:00 2001
+From 355399bde98203af59d20821f9e840fc056bd383 Mon Sep 17 00:00:00 2001
From: Julius Haertl <jus@bitgrid.net>
Date: Tue, 9 Sep 2014 22:31:49 +0200
-Subject: [PATCH] Patch for sidebar iteration functionality
+Subject: Patch for sidebar iteration functionality
sidebar-new will move the selected folder to the next with new messages.
If the end is reached, it will start at the top.
@@ -19,19 +19,19 @@ Useful macros would be:
5 files changed, 15 insertions(+)
diff --git a/OPS b/OPS
-index b900373..62db4b4 100644
+index 1ed9c96..3ffb82a 100644
--- a/OPS
+++ b/OPS
-@@ -206,3 +206,4 @@ OP_SIDEBAR_PREV "go to previous mailbox"
+@@ -187,3 +187,4 @@ OP_SIDEBAR_PREV "go to previous mailbox"
OP_SIDEBAR_OPEN "open hilighted mailbox"
OP_SIDEBAR_NEXT_NEW "go down to next mailbox with new mail"
OP_SIDEBAR_PREV_NEW "go to previous mailbox with new mail"
+OP_SIDEBAR_NEW "iterate though mailboxes with new mail"
diff --git a/curs_main.c b/curs_main.c
-index 8cec507..fb0a74f 100644
+index acb106d..2e35f90 100644
--- a/curs_main.c
+++ b/curs_main.c
-@@ -2550,6 +2550,7 @@ int mutt_index_menu (void)
+@@ -2328,6 +2328,7 @@ int mutt_index_menu (void)
case OP_SIDEBAR_PREV:
case OP_SIDEBAR_NEXT_NEW:
case OP_SIDEBAR_PREV_NEW:
@@ -40,10 +40,10 @@ index 8cec507..fb0a74f 100644
break;
default:
diff --git a/functions.h b/functions.h
-index 66f3345..8ca5411 100644
+index 363b4d5..1485080 100644
--- a/functions.h
+++ b/functions.h
-@@ -195,6 +195,7 @@ const struct binding_t OpMain[] = { /* map: index */
+@@ -176,6 +176,7 @@ const struct binding_t OpMain[] = { /* map: index */
{ "sidebar-prev", OP_SIDEBAR_PREV, NULL },
{ "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL},
{ "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL},
@@ -51,7 +51,7 @@ index 66f3345..8ca5411 100644
{ "sidebar-open", OP_SIDEBAR_OPEN, NULL },
{ NULL, 0, NULL }
};
-@@ -317,6 +318,7 @@ const struct binding_t OpPager[] = { /* map: pager */
+@@ -287,6 +288,7 @@ const struct binding_t OpPager[] = { /* map: pager */
{ "sidebar-prev", OP_SIDEBAR_PREV, NULL },
{ "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL},
{ "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL},
@@ -60,10 +60,10 @@ index 66f3345..8ca5411 100644
{ NULL, 0, NULL }
};
diff --git a/pager.c b/pager.c
-index e888452..9a7d076 100644
+index 8d64fe1..696e55c 100644
--- a/pager.c
+++ b/pager.c
-@@ -2868,6 +2868,7 @@ search_next:
+@@ -2791,6 +2791,7 @@ search_next:
case OP_SIDEBAR_PREV:
case OP_SIDEBAR_NEXT_NEW:
case OP_SIDEBAR_PREV_NEW:
@@ -93,5 +93,5 @@ index c3ea338..eb8ecd2 100644
return;
}
--
-2.1.0
+2.6.0.rc0.2.g7662973.dirty