small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 17 Sep 2007 19:02:59 +0000 (19:02 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 17 Sep 2007 19:02:59 +0000 (19:02 +0000)
lib/python/Components/Renderer/Picon.py

index 060337af158e3ce64cc9c4b576037fc6447d69ce..15737231ed70b4d0028168f6ec9b37911aa5c988 100644 (file)
@@ -29,7 +29,7 @@ class Picon(Renderer):
                                        sname = sname[:pos].rstrip(':')
                                pngname = self.nameCache.get(sname, "")
                                if pngname == "":
                                        sname = sname[:pos].rstrip(':')
                                pngname = self.nameCache.get(sname, "")
                                if pngname == "":
-                                       pngname = self.findPicon(self.source.text)
+                                       pngname = self.findPicon(sname)
                                        if pngname != "":
                                                self.nameCache[sname] = pngname
                        if pngname == "": # no picon for service found
                                        if pngname != "":
                                                self.nameCache[sname] = pngname
                        if pngname == "": # no picon for service found