← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 326541] Re: Request for more filtering options on search

 

SearchTypeDlg::getTitle() adds the SearchTypes enum instead the real
name for predefined types... maybe

=== modified file 'win32/SearchTypesPage.cpp'
--- win32/SearchTypesPage.cpp	2010-07-05 20:17:42 +0000
+++ win32/SearchTypesPage.cpp	2010-07-05 20:43:20 +0000
@@ -193,7 +193,7 @@
 		return;
 	}
 
-	SearchTypeDlg dlg(this, Text::toT(name), extListT);
+	SearchTypeDlg dlg(this, types->getText(cur, 0), extListT);
 	if(dlg.run() == IDOK) {
 		StringList extList;
 		Text::fromT(dlg.getValues(), extList);
 
(not tested) 
above this all look ok.

-- 
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++: Fix Committed

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