[dev] prefix display

Anil Madhavapeddy anil@recoil.org
Mon, 13 Nov 2000 22:11:34 -0000


Chuck Hagenbuch wrote:
> 
> Quoting Max Kalika <max@the-triumvirate.net>:
> 
> > There are a few other places that a folder is displayed and would 
> look better
> > (at least to the user) if the prefix was left out.  How about an 
> > IMP_folder::label() function that accepts the fully qualified 
> name strips out
> > the prefix and returns just the folder name?
> 
> I like this idea; I just implemented IMP_folder::displayName() and used it
> everywhere I could find. Check it out?
> 

Looks good ... although, I think we have to be very careful to only
use it when we know for sure a prefix has already been appended;
INBOX.INBOX.something is a valid mailbox for Courier. 

--                      
 Anil Madhavapeddy / "I told you not to flush that!" 
 anil@recoil.org   /    Stern Lecture Plumbing