Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sidebar: don't overwrite the status if status_on_top is enabled (Clos…

…es: 494735)
  • Loading branch information...
commit 15c23e502a2dcbc20bd179107bb384c99d30dc9d 1 parent 007cfc9
Antonio Radici authored
Showing with 6 additions and 1 deletion.
  1. +2 −0  debian/changelog
  2. +4 −1 debian/patches/mutt-patched/sidebar
View
2  debian/changelog
@@ -3,6 +3,8 @@ mutt (1.5.21-5) unstable; urgency=low
* debian/patches/mutt-patched:
+ sidebar: patch replaced with the one written by Stuart Henderson
(Closes: 619822)
+ + sidebar: don't overwrite the status if status_on_top is enabled
+ (Closes: 494735)
+ sidebar-{dotted,sorted}: documented the options that those two patches are
introducing; documentation submitted by Julien Valroff (Closes: 603186)
+ sidebar-sorted: use strcoll() to sort the sidebar using the locale
View
5 debian/patches/mutt-patched/sidebar
@@ -965,7 +965,7 @@ in the "mutt-patched" package.
break;
--- /dev/null
+++ b/sidebar.c
-@@ -0,0 +1,333 @@
+@@ -0,0 +1,336 @@
+/*
+ * Copyright (C) ????-2004 Justin Hibbits <jrh29@po.cwru.edu>
+ * Copyright (C) 2004 Thomer M. Gil <mutt@thomer.com>
@@ -1105,6 +1105,8 @@ in the "mutt-patched" package.
+int draw_sidebar(int menu) {
+
+ int lines = option(OPTHELP) ? 1 : 0;
++ lines += option(OPTSTATUSONTOP) ? 1 : 0;
++
+ BUFFY *tmp;
+#ifndef USE_SLANG_CURSES
+ attr_t attrs;
@@ -1184,6 +1186,7 @@ in the "mutt-patched" package.
+
+ if ( Incoming == 0 ) return 0;
+ lines = option(OPTHELP) ? 1 : 0; /* go back to the top */
++ lines += option(OPTSTATUSONTOP) ? 1 : 0;
+
+ if ( known_lines != LINES || TopBuffy == 0 || BottomBuffy == 0 )
+ calc_boundaries(menu);
Please sign in to comment.
Something went wrong with that request. Please try again.