py_ext/py_ext.py
changeset 781 cdc6393705ce
parent 742 41a4a560406c
child 1124 b1705000eba1
--- a/py_ext/py_ext.py	Mon Jun 25 12:13:58 2012 +0200
+++ b/py_ext/py_ext.py	Mon Jun 25 20:05:29 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()