X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/987fbddea40b1b0c77b6bee8881f4d28a31afa6d..15c23e502a2dcbc20bd179107bb384c99d30dc9d:/debian/patches/mutt-patched/sidebar-sorted diff --git a/debian/patches/mutt-patched/sidebar-sorted b/debian/patches/mutt-patched/sidebar-sorted index 5bc262d..c5211b8 100644 --- a/debian/patches/mutt-patched/sidebar-sorted +++ b/debian/patches/mutt-patched/sidebar-sorted @@ -26,7 +26,7 @@ should be easy to adopt it to a vanilla mutt. + needsort=0; + tmp = Incoming; + for ( ; tmp ; tmp=tmp->next ) { -+ if (tmp->next != NULL && strcmp(tmp->path, tmp->next->path) > 0) { ++ if (tmp->next != NULL && strcoll(tmp->path, tmp->next->path) > 0) { + needsort=1; + prev = tmp->prev; + next = tmp->next; @@ -73,3 +73,15 @@ should be easy to adopt it to a vanilla mutt. OPTSIGDASHES, OPTSIGONTOP, OPTSORTRE, +--- a/debian/extra/samples/sidebar.muttrc ++++ b/debian/extra/samples/sidebar.muttrc +@@ -55,6 +55,9 @@ + # When using IMAP, a '.' is often used as a separator. This option + # allows to shorten the folder name to the part after the last dot. + # ++# sidebar_sort (boolean) ++# Sorts the folders in the sidebar alphabetically. ++# + # color sidebar_new [fg] [bg] + # The foreground (fg) and background (bg) color of folders that contain new + # mail.