diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-01-26 13:26:04 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-01-26 13:26:04 +0000 |
| commit | 97c347d7218f5ec627f202f771f28a7ef5129be3 (patch) | |
| tree | 2f571d64c8a1113d1401897cff7d35d4a6ca1d0b /lib/python | |
| parent | a44c8df41652c299a74eed799dba199738632548 (diff) | |
| download | enigma2-97c347d7218f5ec627f202f771f28a7ef5129be3.tar.gz enigma2-97c347d7218f5ec627f202f771f28a7ef5129be3.zip | |
follow core event changes
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/PerServiceDisplay.py | 6 | ||||
| -rw-r--r-- | lib/python/Components/ServiceName.py | 6 | ||||
| -rw-r--r-- | lib/python/Components/ServicePosition.py | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/python/Components/PerServiceDisplay.py b/lib/python/Components/PerServiceDisplay.py index 01e5cc82..fe501052 100644 --- a/lib/python/Components/PerServiceDisplay.py +++ b/lib/python/Components/PerServiceDisplay.py @@ -2,7 +2,7 @@ from GUIComponent import * from VariableText import * from VariableValue import * -from enigma import pNavigation +from enigma import iPlayableService from enigma import eLabel, eSlider class PerServiceDisplay(GUIComponent, VariableText): @@ -16,7 +16,7 @@ class PerServiceDisplay(GUIComponent, VariableText): self.navcore.event.append(self.event) # start with stopped state, so simulate that - self.event(pNavigation.evStopService) + self.event(iPlayableService.evEnd) def event(self, ev): # loop up if we need to handle this event @@ -39,7 +39,7 @@ class PerServiceDisplayProgress(GUIComponent, VariableValue, PerServiceDisplay): self.navcore.event.append(self.event) # start with stopped state, so simulate that - self.event(pNavigation.evStopService) + self.event(iPlayableService.evEnd) def createWidget(self, parent): diff --git a/lib/python/Components/ServiceName.py b/lib/python/Components/ServiceName.py index a9c0930a..c3cd8f03 100644 --- a/lib/python/Components/ServiceName.py +++ b/lib/python/Components/ServiceName.py @@ -1,14 +1,14 @@ from PerServiceDisplay import * -#from enigma import pNavigation, iServiceInformationPtr +#from enigma import iPlayableService, iServiceInformationPtr from enigma import * class ServiceName(PerServiceDisplay): def __init__(self, navcore): PerServiceDisplay.__init__(self, navcore, { - pNavigation.evNewService: self.newService, - pNavigation.evStopService: self.stopEvent + iPlayableService.evStart: self.newService, + iPlayableService.evEnd: self.stopEvent }) def newService(self): diff --git a/lib/python/Components/ServicePosition.py b/lib/python/Components/ServicePosition.py index 7bfef931..4992e8e7 100644 --- a/lib/python/Components/ServicePosition.py +++ b/lib/python/Components/ServicePosition.py @@ -2,7 +2,7 @@ from PerServiceDisplay import * from enigma import eTimer -from enigma import pNavigation, iSeekableServicePtr +from enigma import iPlayableService, iSeekableServicePtr class ServicePosition(PerServiceDisplay): TYPE_LENGTH = 0, @@ -14,8 +14,8 @@ class ServicePosition(PerServiceDisplay): self.updateTimer.timeout.get().append(self.update) PerServiceDisplay.__init__(self, navcore, { - pNavigation.evNewService: self.newService, - pNavigation.evStopService: self.stopEvent + iPlayableService.evStart: self.newService, + iPlayableService.evEnd: self.stopEvent }) self.type = type # self.setType(type) |
