diff -r 43a680c5c8e6 -r 1a4101cb87eb Plugins/PluginTabnanny.py --- a/Plugins/PluginTabnanny.py Sun Sep 05 17:47:33 2010 +0200 +++ b/Plugins/PluginTabnanny.py Sun Sep 05 18:34:37 2010 +0200 @@ -176,13 +176,14 @@ """ project = e5App().getObject("Project") project.saveAllScripts() - files = [os.path.join(project.ppath, file) \ + ppath = project.getProjectPath() + files = [os.path.join(ppath, file) \ for file in project.pdata["SOURCES"] \ if file.endswith(tuple(Preferences.getPython("Python3Extensions")))] self.__projectTabnannyDialog = TabnannyDialog() self.__projectTabnannyDialog.show() - self.__projectTabnannyDialog.start(files) + self.__projectTabnannyDialog.prepare(files, project) def __projectBrowserTabnanny(self): """ @@ -248,4 +249,4 @@ self.__editorTabnannyDialog = TabnannyDialog() self.__editorTabnannyDialog.show() - self.__editorTabnannyDialog.start(editor.getFileName()) \ No newline at end of file + self.__editorTabnannyDialog.start(editor.getFileName())