plugins/canfestival/canfestival.py
changeset 17 ee8cb104dbe0
parent 15 7a473efc4530
child 18 0fac6d621a24
--- a/plugins/canfestival/canfestival.py	Wed Aug 29 07:58:49 2007 +0200
+++ b/plugins/canfestival/canfestival.py	Fri Aug 31 15:11:30 2007 +0200
@@ -22,10 +22,10 @@
     </xsd:schema>
     """
 
-    def __init__(self, buspath):
+    def __init__(self):
         manager = NodeManager()
         NodeList.__init__(self, manager)
-        self.LoadProject(buspath)
+        self.LoadProject(self.PlugPath())
 
     _View = None
     def _OpenView(self):
@@ -44,7 +44,7 @@
     def PlugTestModified(self):
         return self.HasChanged()
         
-    def PlugRequestSave(self):
+    def OnPlugSave(self):
         self.SaveProject()
         return True
 
@@ -77,7 +77,7 @@
     """
 
     PlugChildsTypes = [("CanOpenNode",_NodeListPlug)]
-
+    
     def PlugGenerate_C(self, buildpath, current_location, locations):
         """
         Generate C code