From: Andreas Monzner Date: Fri, 27 Jul 2007 22:26:27 +0000 (+0000) Subject: remove unneeded code X-Git-Tag: 2.6.0~2025 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/05aa25aa522a21bd5594fd774b8685afd33fb69b?ds=sidebyside remove unneeded code --- diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index 0092989d..ef654521 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -57,11 +57,7 @@ class EPGSelection(Screen): 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,