use _ as separator instead of : for picon filenames
[enigma2.git] / lib / python / Components / Renderer / Picon.py
index 2dfafb99cd19185cfbf528d7edcadeff76da5155..a9c36f2b124ae3730d0dcbc90d8b54f22ac6e288 100644 (file)
@@ -26,7 +26,7 @@ class Picon(Renderer):
                                # strip all after last :
                                pos = sname.rfind(':')
                                if pos != -1:
-                                       sname = sname[:pos].rstrip(':')
+                                       sname = sname[:pos].rstrip(':').replace(':','_')
                                pngname = self.nameCache.get(sname, "")
                                if pngname == "":
                                        pngname = self.findPicon(sname)