* src/Filters/Rules/*: Add object-specific rules.

svn: r6529
This commit is contained in:
Alex Roitman
2006-05-03 06:29:07 +00:00
parent 5e85cd3c91
commit 2dd9893045
94 changed files with 1085 additions and 550 deletions

View File

@@ -527,10 +527,10 @@ class ListView(BookMarkView):
Builds the default filters and add them to the filter menu.
"""
default_filters = [
[Rules.Everyone, []],
[Rules.Everything, []],
[Rules.HasTextMatchingSubstringOf, ['',0,0]],
[Rules.HasTextMatchingRegexpOf, ['',0,1]],
[Rules.PeoplePrivate, []],
[Rules.IsPrivate, []],
]
self.generic_filter_widget.setup_filter( default_filters)