diff -r fc0bf084f32a -r a0ea7418d433 AssistantEric/APIsManager.py --- a/AssistantEric/APIsManager.py Sun Apr 23 17:27:36 2017 +0200 +++ b/AssistantEric/APIsManager.py Mon Oct 09 19:23:14 2017 +0200 @@ -996,6 +996,7 @@ try: forms = self.__project.getProjectFiles("FORMS") except AttributeError: + # backward compatibility < 16.12 forms = self.__project.pdata["FORMS"] for fn in forms: ofn = os.path.splitext(fn)[0] @@ -1227,6 +1228,7 @@ try: return QScintilla.Lexers.getSupportedApiLanguages() except AttributeError: + # backward compatibility < 16.12 return [lang for lang in QScintilla.Lexers.getSupportedLanguages().keys() if lang != "Guessed" and not lang.startswith("Pygments|")] @@ -1249,40 +1251,6 @@ if msg: self.__mw.statusBar().showMessage(msg, 2000) - def __apiPreparationFinished(self, language): - """ - Private slot handling the preparation finished signal of an API object. - - @param language language of the API (string) - """ - if language == ApisNameProject: - language = self.tr("Project") - self.__showMessage(self.tr("Preparation of '{0}' APIs finished.") - .format(language)) - - def __apiPreparationStarted(self, language): - """ - Private slot handling the preparation started signal of an API object. - - @param language language of the API (string) - """ - if language == ApisNameProject: - language = self.tr("Project") - self.__showMessage(self.tr("Preparation of '{0}' APIs started.") - .format(language)) - - def __apiPreparationCancelled(self, language): - """ - Private slot handling the preparation cancelled signal of an API - object. - - @param language language of the API (string) - """ - if language == ApisNameProject: - language = self.tr("Project") - self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.") - .format(language)) - def __apiPreparationStatus(self, language, status, filename): """ Private slot handling the preparation status signal of an API object.