remove unneeded code
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Jul 2007 22:26:27 +0000 (22:26 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Jul 2007 22:26:27 +0000 (22:26 +0000)
lib/python/Screens/EpgSelection.py

index 0092989df92e3ac58064d720fe893c0b4630313f..ef6545214787fa082f18769af0358d02c7db3c4f 100644 (file)
@@ -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,