-from enigma import loadPNG
from Components.config import ConfigSubsection, config
+from Tools.LoadPixmap import LoadPixmap
config.plugins = ConfigSubsection()
def updateIcon(self, path):
if type(self.iconstr) is str:
- self.icon = loadPNG(path + "/" + self.iconstr)
+ self.icon = LoadPixmap(path + "/" + self.iconstr)
else:
self.icon = None