On Sun, 22 Jun 2003 17:52:52 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:

NB> > I also noticed that the folder when renamed was not automatically
NB> > resorted in alphabetical order. It might be nice if this is done as
NB> > part of the renaming procedure? I imagine you normally have to wait
NB> > till you restart Mahogany for the sorting to occur?
NB> 
NB> Yes. Vadim, is it easy to resort folder list after renaming?

 In fact it isn't for a very stupid reason: the folders are not really
sorted alphabetically on purpose, it's just a side effect of storing them
in wxConfig -- it does always sort its entries alphabetically (to be able
to do binary search in them) and so when we read the entries in natural
order they are always sorted.

 Of course, we could still do it right by inserting the newly created
folder in the right place in wxFolderTreeImpl::ProcessFolderTreeChange()
but I don't have time to fix this now.
 
Regards,
VZ



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to