diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-04-09 21:56:50 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-04-09 21:56:50 +0000 |
| commit | 9a0d02d2e74c24dcc7b8bfe6df937e92c8af1d0d (patch) | |
| tree | 79fe085266617752c75f38a2e9fb37008a400b35 /lib/python/Components/PerServiceDisplay.py | |
| parent | 53cccbdf7f4b485d295689d6ce9fd77a01694602 (diff) | |
| download | enigma2-9a0d02d2e74c24dcc7b8bfe6df937e92c8af1d0d.tar.gz enigma2-9a0d02d2e74c24dcc7b8bfe6df937e92c8af1d0d.zip | |
add destroy() for Components to fix bug #52
Diffstat (limited to 'lib/python/Components/PerServiceDisplay.py')
| -rw-r--r-- | lib/python/Components/PerServiceDisplay.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/PerServiceDisplay.py b/lib/python/Components/PerServiceDisplay.py index 55ef3d18..821f6d16 100644 --- a/lib/python/Components/PerServiceDisplay.py +++ b/lib/python/Components/PerServiceDisplay.py @@ -17,6 +17,9 @@ class PerServiceBase(GUIComponent): # start with stopped state, so simulate that self.event(iPlayableService.evEnd) + def destroy(self): + self.navcore.event.remove(self.event) + def event(self, ev): # loop up if we need to handle this event if self.eventmap.has_key(ev): |
