Re: [2.0.5 bug + suggestion] auto-open mailboxes



On 2003.01.10 15:06 Albrecht Dreß wrote:
> I just switched from balsa 1.4 to 2.0.5, and I am **really* 
> impressed... However, i think I found a bug: balsa does not open 
> subfolders upon startup. The section in .gnome2/balsa looks as 
> follows:
> 
> [Globals]
> MailDir=/home/albrecht/mail
> OpenInboxOnStartup=true
> Debug=false
> AutoCloseMailbox=false
> AutoCloseMailboxTimeout=1
> OpenMailboxes=file:///home/albrecht/mail/incoming \
>  file:///home/albrecht/mail/sentbox \
>  file:///home/albrecht/mail/Listen/Balsa \
>  file:///home/albrecht/mail/Listen/LinuxPPC
> RememberOpenMailboxes=true
> EmptyTrash=true
> 
> Upon startup, balsa says that it opens 4 mailboxes, but only incoming 
> and sentbox appear. Any idea?

The solution is to assure that all the folders are scanned before 
OpenMailboxes are opened. Scheduling open_mailboxes_idle_cb() via 
gtk_idle_add() from scan_mailboxes_cb() should do the job, I believe 
(cannot check it right now).

/pawel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]