Plugins/PluginTabnanny.py

changeset 28
dde24fc7f7ba
parent 13
1af94a91f439
child 40
c2e5472b112c
--- a/Plugins/PluginTabnanny.py	Thu Jan 07 12:30:38 2010 +0000
+++ b/Plugins/PluginTabnanny.py	Thu Jan 07 12:31:11 2010 +0000
@@ -147,7 +147,7 @@
         """
         if menuName == "Checks" and self.__projectAct is not None:
             self.__projectAct.setEnabled(\
-                e4App().getObject("Project").getProjectLanguage() == "Python")
+                e4App().getObject("Project").getProjectLanguage() == "Python3")
     
     def __projectBrowserShowMenu(self, menuName, menu):
         """
@@ -180,6 +180,7 @@
         """
         project = e4App().getObject("Project")
         project.saveAllScripts()
+        # TODO: make this dependant on configured extensions
         files = [os.path.join(project.ppath, file) \
             for file in project.pdata["SOURCES"] \
                 if file.endswith(".py") or \

eric ide

mercurial