py_ext/py_ext.py
changeset 738 413946c04c87
parent 731 4fc681ed0c61
child 742 41a4a560406c
--- a/py_ext/py_ext.py	Mon May 21 02:49:53 2012 +0200
+++ b/py_ext/py_ext.py	Mon May 21 10:04:27 2012 +0200
@@ -1,6 +1,7 @@
 import os
 from POULibrary import POULibrary
 from PythonFileCTNMixin import PythonFileCTNMixin
+from util import opjimg
 
 class PythonLibrary(POULibrary):
     def GetLibraryPath(self):
@@ -29,6 +30,10 @@
         return (["py_ext"], [(Gen_Pythonfile_path, IECCFLAGS)], True), ""
 
 class PythonFile(PythonFileCTNMixin):
+    
+    def GetIconPath(self):
+        return opjimg("Pyfile")
+    
     def CTNGenerate_C(self, buildpath, locations):
         current_location = self.GetCurrentLocation()
         # define a unique name for the generated C file