from Components.Button import Button
from Components.Pixmap import Pixmap
from Components.Label import Label
-from Components.EpgList import EPGList
+from Components.EpgList import EPGList, EPG_TYPE_SINGLE, EPG_TYPE_SIMILAR, EPG_TYPE_MULTI
from Components.ActionMap import ActionMap
from Screens.EventView import EventViewSimple
from TimeDateInput import TimeDateInput
self["key_green"] = Button(_("Add timer"))
self["list"] = EPGList(type = self.type, selChangedCB = self.onSelectionChanged, timer = self.session.nav.RecordTimer)
- class ChannelActionMap(ActionMap):
- def action(self, contexts, action):
- return ActionMap.action(self, contexts, action)
-
- self["actions"] = ChannelActionMap(["EPGSelectActions", "OkCancelActions"],
+ self["actions"] = ActionMap(["EPGSelectActions", "OkCancelActions"],
{
"cancel": self.closeScreen,
"ok": self.eventSelected,