From 5db2dc5c63948651b3e4b337d7057cd940ccc644 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 13 Dec 2007 01:25:52 +0000 Subject: factor out loadPNG into generic LoadPixmap --- lib/python/Components/SelectionList.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/SelectionList.py') 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) ] -- cgit v1.2.3