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