diff -r b0996e4a289e -r 1d8dd9706f46 Plugins/PluginTabnanny.py --- a/Plugins/PluginTabnanny.py Fri Jan 01 16:11:36 2010 +0000 +++ b/Plugins/PluginTabnanny.py Sat Jan 02 15:11:35 2010 +0000 @@ -158,7 +158,7 @@ @param menu reference to the menu (QMenu) """ if menuName == "Checks" and \ - e4App().getObject("Project").getProjectLanguage() == "Python": + e4App().getObject("Project").getProjectLanguage() == "Python3": self.__projectBrowserMenu = menu if self.__projectBrowserAct is None: self.__projectBrowserAct = E4Action(self.trUtf8('Check Indentations'), @@ -241,7 +241,7 @@ if menuName == "Checks": if not self.__editorAct in menu.actions(): menu.addAction(self.__editorAct) - self.__editorAct.setEnabled(editor.isPyFile()) + self.__editorAct.setEnabled(editor.isPy3File()) def __editorTabnanny(self): """