aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/SelectionList.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-12-13 01:25:52 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-12-13 01:25:52 +0000
commit5db2dc5c63948651b3e4b337d7057cd940ccc644 (patch)
treecdb77048bb1954de6ea7e983302371b33e6f812f /lib/python/Components/SelectionList.py
parent7bcaff119363f42cd4263a5e07982de7671734a7 (diff)
downloadenigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.tar.gz
enigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.zip
factor out loadPNG into generic LoadPixmap
Diffstat (limited to 'lib/python/Components/SelectionList.py')
-rw-r--r--lib/python/Components/SelectionList.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/SelectionList.py b/lib/python/Components/SelectionList.py
index 6b02e5bc..10b1d531 100644
--- a/lib/python/Components/SelectionList.py
+++ b/lib/python/Components/SelectionList.py
@@ -1,9 +1,10 @@
from GUIComponent import GUIComponent
from MenuList import MenuList
from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE
-from enigma import eListboxPythonMultiContent, loadPNG, eListbox, gFont, RT_HALIGN_LEFT
+from enigma import eListboxPythonMultiContent, eListbox, gFont, RT_HALIGN_LEFT
+from Tools.LoadPixmap import LoadPixmap
-selectionpng = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "selectioncross-fs8.png"))
+selectionpng = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "selectioncross-fs8.png"))
def SelectionEntryComponent(description, value, index, selected):
res = [ (description, value, index, selected) ]