py_ext/py_ext.py
changeset 787 f49875b9e946
parent 781 cdc6393705ce
child 1124 b1705000eba1
--- a/py_ext/py_ext.py	Tue Jun 19 21:59:34 2012 +0200
+++ b/py_ext/py_ext.py	Fri Jul 06 21:00:43 2012 +0200
@@ -1,7 +1,6 @@
 import os
 from POULibrary import POULibrary
 from PythonFileCTNMixin import PythonFileCTNMixin
-from util.misc import opjimg
 
 class PythonLibrary(POULibrary):
     def GetLibraryPath(self):
@@ -31,8 +30,8 @@
 
 class PythonFile(PythonFileCTNMixin):
     
-    def GetIconPath(self):
-        return opjimg("Pyfile")
+    def GetIconName(self):
+        return "Pyfile"
     
     def CTNGenerate_C(self, buildpath, locations):
         current_location = self.GetCurrentLocation()