]> granicus.if.org Git - neomutt/commit
Make extended buffy independent of the sidebar.
authorKevin McCarthy <kevin@8t8.us>
Tue, 7 Jun 2016 22:02:58 +0000 (15:02 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 7 Jun 2016 22:02:58 +0000 (15:02 -0700)
commite5c305d7fd54ba6746ee3b87ad85bf683b390a5f
tree7661dd213476946c96b9c9671d24340b6397751c
parenta8ca3858a26fc0c3e9fcb29d6964e8d02609a2aa
Make extended buffy independent of the sidebar.

Add new boolean option $mail_check_stats (default off) and
$mail_check_stats_interval.  The first turns extended buffy on.  The
second sets the amount of time in between extended buffy checks
(defaulting to 60 seconds).

Remove the option $sidebar_refresh_time.

Change mutt_buffy_check() to only notify the sidebar to redraw if a
mailbox buffy value changes.

Remove the #ifdefs around the extended buffy functions.  The next
patch will merge these functions with the basic functions and pass a
parameter instead.

Imap is a special case, because it sends out the status in one batch.
Change this to perform the comparisons inside cmd_parse_status() and
flag the sidebar there.  It was previously directly assigning the
status counters (unsigned int) to the buffy->new (short).  Change this
to assign 1/0.
17 files changed:
buffy.c
buffy.h
contrib/sample.muttrc-sidebar
doc/manual.xml.head
globals.h
imap/command.c
imap/imap.c
imap/imap.h
init.h
mailbox.h
mbox.c
mh.c
mutt.h
mx.c
mx.h
sidebar.c
sidebar.h