--- a/Plugins/PluginSyntaxChecker.py Sun Sep 05 17:47:33 2010 +0200 +++ b/Plugins/PluginSyntaxChecker.py Sun Sep 05 18:34:37 2010 +0200 @@ -173,13 +173,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.__projectSyntaxCheckerDialog = SyntaxCheckerDialog() self.__projectSyntaxCheckerDialog.show() - self.__projectSyntaxCheckerDialog.start(files) + self.__projectSyntaxCheckerDialog.prepare(files, project) def __projectBrowserSyntaxCheck(self): """ @@ -243,4 +244,4 @@ self.__editorSyntaxCheckerDialog = SyntaxCheckerDialog() self.__editorSyntaxCheckerDialog.show() self.__editorSyntaxCheckerDialog.start(editor.getFileName(), - editor.text()) \ No newline at end of file + editor.text())