i've added a generic StringListDlg that i would like to see used here instead 
of asking the user to put ';' to delimit extensions. this way, a simple list 
can be used everywhere and semicolons will only appear when interfacing with 
the settings file.
as for performance, there's almost no overhead to using a vector; actually, 
when micro-optimizing a vector may even be better than all the ';' chars... but 
the main reason to have a list here is not performance but plain logic; 
semicolons only make sense in the context of loading & saving to file.
the StringListDlg allows customization of the addition command (see the public 
hub list dlg for an example) so invalid extensions can be checked for when they 
are individually being entered instead of when validating the whole list.

as for the NMDC problem, i would like not having to see legacy types
when i have selected only ADC hubs, but this can be thought of later on.

-- 
Request for more filtering options on search
https://bugs.launchpad.net/bugs/326541
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.

Status in DC++: New

Bug description:
It would be a really handy feature to define own "filetype" filters.

For example we do have a file tye "archive" that would give you only zip, rar, 
ace and lzh-Files.
It would be really cool to add mx own types like for comics: cbr, cbz, cba, 
ace, zip, rar, lzh and folders.
So that I don't have to scroll trough endless lists of mp3 . . .

As far as i have been told is that an idea that would require changes in the 
protocol or the hub software, so I suggest an additional local filter: Search 
for all files on the hub, but show only . . .

Thanx for a great software!
mabuse



_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : linuxdcpp-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to