Am 2004.09.01 15:31 schrieb(en) Peter Bloomfield:
On 09/01/2004 12:51:30 AM, Steffen Klemer wrote:Hi,recent versions of Balsa (beginning with 2.2.3, I think) doesn't show unread msgs in the mbox-tree anymore.Hi Steffen!That initial mailbox check was causing noticeable startup delays for some users, so we disabled it. Balsa now detects only changes that occur after it was started.
Is it possible to re-enable the check if "Check for new mail at startup" is switched to on (or with a new pref... - I know, another pref is bad, but... ;)
I enabled it in my build again - the necessary patch is attached for anybody who likes the old behaviour.
cu /Steffen -- /"\ \ / ASCII Ribbon Campaign | "The best way to predict X * NO HTML/RTF in e-mail | the future is to invent it." / \ * NO MSWord docs in e-mail| -- Alan Kay
Index: mailbox_mbox.c =================================================================== RCS file: /cvs/gnome/balsa/libbalsa/mailbox_mbox.c,v retrieving revision 1.83 retrieving revision 1.82 diff -u -r1.83 -r1.82 --- mailbox_mbox.c 12 Aug 2004 20:07:14 -0000 1.83 +++ mailbox_mbox.c 3 Aug 2004 15:47:14 -0000 1.82 @@ -541,12 +541,6 @@ return; } - if (mbox->mtime == 0) { - /* First check--just cache the mtime and size. */ - mbox->mtime = st.st_mtime; - mbox->size = st.st_size; - return; - } if (st.st_mtime == mbox->mtime && st.st_size == mbox->size) return;
Attachment:
pgpgV2TCzMrgt.pgp
Description: PGP signature