diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:25:52 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:25:52 +0000 |
| commit | 5db2dc5c63948651b3e4b337d7057cd940ccc644 (patch) | |
| tree | cdb77048bb1954de6ea7e983302371b33e6f812f /lib/python/Screens/PluginBrowser.py | |
| parent | 7bcaff119363f42cd4263a5e07982de7671734a7 (diff) | |
| download | enigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.tar.gz enigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.zip | |
factor out loadPNG into generic LoadPixmap
Diffstat (limited to 'lib/python/Screens/PluginBrowser.py')
| -rw-r--r-- | lib/python/Screens/PluginBrowser.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index 5459ccce..fbb809d7 100644 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -1,6 +1,6 @@ from Screen import Screen -from enigma import eConsoleAppContainer, loadPNG +from enigma import eConsoleAppContainer from Components.ActionMap import ActionMap from Components.PluginComponent import plugins @@ -10,6 +10,8 @@ from Screens.MessageBox import MessageBox from Screens.Console import Console from Plugins.Plugin import PluginDescriptor from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_SKIN_IMAGE +from Tools.LoadPixmap import LoadPixmap + class PluginBrowser(Screen): def __init__(self, session): @@ -168,9 +170,9 @@ class PluginDownloadBrowser(Screen): def updateList(self): self.list = [] - expandableIcon = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "expandable-plugins.png")) - expandedIcon = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "expanded-plugins.png")) - verticallineIcon = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "verticalline-plugins.png")) + expandableIcon = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "expandable-plugins.png")) + expandedIcon = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "expanded-plugins.png")) + verticallineIcon = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "verticalline-plugins.png")) self.plugins = {} for x in self.pluginlist: |
