from Screen import Screen
-from Components.Sources.MenuList import MenuList
+from Components.Sources.List import List
from Components.ActionMap import ActionMap
-from Components.Header import Header
+from Components.Sources.StaticText import StaticText
class FixedMenu(Screen):
def okbuttonClick(self):
def __init__(self, session, title, list):
Screen.__init__(self, session)
- self["menu"] = MenuList(list)
+ self["menu"] = List(list)
self["actions"] = ActionMap(["OkCancelActions"],
{
"cancel": self.close
})
- self["title"] = Header(title)
+ self["title"] = StaticText(title)