diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-14 16:59:28 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-14 16:59:28 +0000 |
| commit | 4d8312e21da3ddf84395fa7557ba6e13fede4145 (patch) | |
| tree | 1ef315eea3c787d15dfd6c3aba5e42eb1f9c371f /lib | |
| parent | 1430fa61856eb2f52e1f59b2fd7cda01f6f0405b (diff) | |
| download | enigma2-4d8312e21da3ddf84395fa7557ba6e13fede4145.tar.gz enigma2-4d8312e21da3ddf84395fa7557ba6e13fede4145.zip | |
rename event into event_callback
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Components/PerServiceDisplay.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/PerServiceDisplay.py b/lib/python/Components/PerServiceDisplay.py index 6de7e888..27f15171 100644 --- a/lib/python/Components/PerServiceDisplay.py +++ b/lib/python/Components/PerServiceDisplay.py @@ -9,18 +9,18 @@ class PerServiceBase(object): def __init__(self, navcore, eventmap, with_event=False): self.eventmap = eventmap self.navcore = navcore - self.navcore.event.append(self.event) + self.navcore.event.append(self.event_callback) self.poll_timer = eTimer() self.poll_timer.timeout.get().append(self.poll) self.with_event = with_event # start with stopped state, so simulate that - self.event(iPlayableService.evEnd) + self.event_callback(iPlayableService.evEnd) def destroy(self): - self.navcore.event.remove(self.event) + self.navcore.event.remove(self.event_callback) - def event(self, ev): + def event_callback(self, ev): # loop up if we need to handle this event if self.eventmap.has_key(ev): # call handler |
