Re: [Q] : mailbox->open_ref meaning ?



Le 02.09.2002 16:40, Pawel Salek a écrit :
> On 2002.09.02 14:32 Emmanuel wrote:
>> 	Hi all,
>> here is my question : I'm trying to correct the mblist code so that 
>> when we repopulate it (after adding a mailbox or whatever) all 
>> information get displayed. To do that I changed the 
>> balsa_mblist_repopulate code that was only displaying mailboxes name 
>> and icons, so that it also displays the information (messages count...) 
>> of the opened mailboxes. But the problem is how to check that a mailbox 
>> is open reliably. I have tried to test the open_ref field but I was 
>> surprised of the result : only the Inbox had an open_ref>0 (whereas I 
>> had opened several other mailboxes).
> 
> open_ref is supposed to be >0 for open mailboxes and as far as I can 
> tell it really is but if you insist I can double-check.

I'll first try to clarify things a bit, now that I know it must be >0 if 
mailbox is open.
Thanks
Bye
Manu



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