--- a/c_ext/c_ext.py Mon Jun 25 12:13:58 2012 +0200
+++ b/c_ext/c_ext.py Mon Jun 25 20:05:29 2012 +0200
@@ -4,7 +4,6 @@
from xmlclass import *
-from util.misc import opjimg
from CFileEditor import CFileEditor
from PLCControler import UndoBuffer, LOCATION_CONFNODE, LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT
@@ -44,8 +43,8 @@
self.CreateCFileBuffer(False)
self.OnCTNSave()
- def GetIconPath(self):
- return opjimg("Cfile")
+ def GetIconName(self):
+ return "Cfile"
def CFileName(self):
return os.path.join(self.CTNPath(), "cfile.xml")