From 54ef002317d169d6dafbe48735560676435ce53d Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 15 Apr 2006 11:34:31 +0000 Subject: fix bug in EpgList.py (line 79, in getCurrent .. TypeError: unscribtable object) make similar broadcasting search working in multiepg --- lib/python/Screens/EpgSelection.py | 2 +- lib/python/Screens/EventView.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/python/Screens') diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index 04f858b9..f9516e1d 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -105,8 +105,8 @@ class EPGSelection(Screen): if self.type == EPG_TYPE_MULTI and cur[0] is None and cur[1].ref != old[1].ref: self.eventViewCallback(setEvent, setService, val) else: - setEvent(cur[0]) setService(cur[1]) + setEvent(cur[0]) def zapTo(self): # just used in multiepg if self.zapFunc != None: diff --git a/lib/python/Screens/EventView.py b/lib/python/Screens/EventView.py index 498702e5..86947461 100644 --- a/lib/python/Screens/EventView.py +++ b/lib/python/Screens/EventView.py @@ -39,8 +39,8 @@ class EventViewBase: self.onShown.append(self.onCreate) def onCreate(self): - self.setEvent(self.event) self.setService(self.currentService) + self.setEvent(self.event) def prevEvent(self): if self.cbFunc is not None: @@ -62,6 +62,7 @@ class EventViewBase: print "Timeredit aborted" def setService(self, service): + self.currentService=service if self.isRecording: self["channel"].setText(_("Recording")) -- cgit v1.2.3