PluginProjectPyramid.py

changeset 48
c313efdb01de
parent 44
989c961c33ab
child 54
71c83a661c83
child 56
c7adc68350dd
diff -r 5c24b24944d0 -r c313efdb01de PluginProjectPyramid.py
--- a/PluginProjectPyramid.py	Sun May 05 19:27:51 2013 +0200
+++ b/PluginProjectPyramid.py	Thu Jun 20 18:59:13 2013 +0200
@@ -26,7 +26,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.2.0"
+version = "1.3.0"
 className = "ProjectPyramidPlugin"
 packageName = "ProjectPyramid"
 shortDescription = "Project support for Pyramid projects."
@@ -123,6 +123,7 @@
             "Python2ConsoleType": "python",
             "Python3ConsoleType": "python",
             "PyramidDocUrl": "http://docs.pylonsproject.org/en/latest/docs/pyramid.html",
+            "TranslationsEditor": "",
         }
         if isWindowsPlatform():
             self.__defaults["ConsoleCommand"] = "cmd.exe /c"
@@ -358,6 +359,9 @@
         
         if key in ["VirtualEnvironmentPy2", "VirtualEnvironmentPy3"]:
             self.__reregisterProjectType()
+        elif key == "TranslationsEditor":
+            if self.__object:
+                self.__object.registerOpenHook()
     
     def __reregisterProjectType(self):
         """

eric ide

mercurial