create global (real) config entries, update setup on hotplug (untested), fix apply...
[enigma2.git] / lib / python / Plugins / Plugin.py
index b01b9b8f5a879499881ea1dd5aa2aded9cdb0bb1..f6f9b4818a2836966617c8efaa2f61b9760ebe46 100644 (file)
@@ -1,5 +1,5 @@
-from enigma import loadPNG
 from Components.config import ConfigSubsection, config
+from Tools.LoadPixmap import LoadPixmap
 
 config.plugins = ConfigSubsection()
 
@@ -63,7 +63,7 @@ class PluginDescriptor:
 
        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