However my wife complained about zapping in the multi graph epg where she thought it was more natural to use the OK button. Below are my minor changes to GraphMultiEpg and GraphMultiEpgConfig to make it configurable to use the OK button instead of the RED button to zap.
Something anyone else is interested in or should I just run it locally to keep my wife happy?
GraphMultiEpgConfig
57 <! self.list.append(getConfigListEntry(_("Use OK to zap"), config.misc.graph_mepg.ok_2_zap))
GraphMultiEpg
47 <! config.misc.graph_mepg.ok_2_zap = ConfigYesNo(default = False) 706 * if config.misc.graph_mepg.ok_2_zap.getValue(): * ZAP = 1 707 <! RED = 2 708 <! else: 709 <! RED = 1 749 <! okFunc = self.eventSelected 750 <! okDesc = "Show detailed event info" 751 <! redFunc = self.zapTo 752 <! redDesc = "Zap to selected channel" 753 <! if self.RED==2: 754 <! okFunc = self.zapTo 755 <! okDesc = "Zap to selected channel" 756 <! redFunc = self.eventSelected 757 <! redDesc = "Show detailed event info" 761 * "ok": (okFunc, _(okDesc)) * "ok": (self.eventSelected, _("Show detailed event info")) 768 * "red": (redFunc, _(redDesc)), * "red": (self.zapTo, _("Zap to selected channel")), 954 * if self.zapFunc: * if self.zapFunc and self.key_red_choice == self.ZAP: 1028 * if self.key_red_choice != self.RED: * if self.key_red_choice != self.ZAP: 1029 <! if (self.RED==1): 1031 * else: * self.key_red_choice = self.ZAP 1032 <! self["key_red"].setText(_("Info")) 1033 <! self.key_red_choice = self.RED
Edited by proprog, 6 November 2012 - 20:14.