c_ext/c_ext.py
changeset 781 cdc6393705ce
parent 742 41a4a560406c
child 953 1fb6cf5a4c4d
--- 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")