X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ea9231ad7229f47ebf117a3b4894a9e4e7a3c40a..cf34bb57372b60d8e66cf5c21e9f73b8d0bc23b8:/lib/python/Components/TimerList.py diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py index b1d9ba02..0912a4d0 100644 --- a/lib/python/Components/TimerList.py +++ b/lib/python/Components/TimerList.py @@ -3,8 +3,9 @@ from GUIComponent import GUIComponent from Tools.FuzzyDate import FuzzyTime -from enigma import eListboxPythonMultiContent, eListbox, gFont, loadPNG, \ +from enigma import eListboxPythonMultiContent, eListbox, gFont, \ RT_HALIGN_LEFT, RT_HALIGN_RIGHT, RT_VALIGN_CENTER +from Tools.LoadPixmap import LoadPixmap from timer import TimerEntry from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE @@ -62,7 +63,7 @@ class TimerList(HTMLComponent, GUIComponent, object): res.append((eListboxPythonMultiContent.TYPE_TEXT, width-240, 50, 240, 20, 1, RT_HALIGN_RIGHT|RT_VALIGN_CENTER, state)) if timer.disabled: - png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "redx.png")) + png = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/icons/redx.png")) res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 490, 5, 40, 40, png)) return res