X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/120489191dacf22ee4f878e6dd4c8dca06a29545..85acd407a2cc4029270d904fdc12643f00fea1de:/lib/python/Components/ParentalControlList.py diff --git a/lib/python/Components/ParentalControlList.py b/lib/python/Components/ParentalControlList.py index 602e1e5f..71912620 100644 --- a/lib/python/Components/ParentalControlList.py +++ b/lib/python/Components/ParentalControlList.py @@ -2,10 +2,10 @@ from MenuList import MenuList from Components.ParentalControl import parentalControl from Tools.Directories import SCOPE_SKIN_IMAGE, resolveFilename -from enigma import eListbox, eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT +from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT from Tools.LoadPixmap import LoadPixmap -lockPicture = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "lock-fs8.png")) +lockPicture = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/icons/lock.png")) def ParentalControlEntryComponent(service, name, locked = True): res = [ (service, name, locked) ] @@ -16,7 +16,7 @@ def ParentalControlEntryComponent(service, name, locked = True): class ParentalControlList(MenuList): def __init__(self, list, enableWrapAround = False): - MenuList.__init__(self, list, enableWrapAround, eListboxPythonMultiContent()) + MenuList.__init__(self, list, enableWrapAround, eListboxPythonMultiContent) self.l.setFont(0, gFont("Regular", 20)) self.l.setItemHeight(32)