Show
Ignore:
Timestamp:
08/01/08 10:18:16 PM (5 months ago)
Author:
octorian
Message:

Mailbox node serialization

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/mail/pop/PopClient.java

    r245 r259  
    214214    } 
    215215 
    216     public void refreshFolderStatus(FolderTreeItem root) throws IOException, MailException { 
     216    public void refreshFolderStatus(FolderTreeItem[] folders) throws IOException, MailException { 
    217217        // Only one mailbox can exist, so we just pull the message counts 
    218218        activeMailbox.setMsgCount(popProtocol.executeStat()); 
     219        if(folders.length == 1 && folders[0] != activeMailbox) { 
     220                folders[0].setMsgCount(activeMailbox.getMsgCount()); 
     221        } 
    219222    } 
    220223