Remove the entry_filters argument from *View constructors.
[matthijs/upstream/mobilegtd.git] / src / gui / projects_list / project_list_view.py
index 80bffec06f1016c1d09c5ccc1608d90bf131c282..bbb81f6085627f37c0d40e2cda12f5f611f444e5 100644 (file)
@@ -24,9 +24,10 @@ class ProjectListView(EditableListView):
     def __init__(self,projects):
         self.projects = projects
         self.projects.observers.append(self)
-        super(ProjectListView, self).__init__([lambda:projects])
+        super(ProjectListView, self).__init__()
         self.set_keybindings(PROJECT_LIST_KEYS_AND_MENU)
         self.set_title(u'Projects')
+        self.set_filters([lambda:projects])
         #appuifw.note(u'Before starting thread')
 #        thread.start_new_thread(projects.process,())
         #appuifw.note(u'After starting thread %s'%repr(projects.observers))