diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Button.py | 2 | ||||
| -rw-r--r-- | lib/python/Components/EventInfo.py | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/lib/python/Components/Button.py b/lib/python/Components/Button.py index d9226b6d..cb4b4213 100644 --- a/lib/python/Components/Button.py +++ b/lib/python/Components/Button.py @@ -17,11 +17,9 @@ class Button(HTMLComponent, GUIComponent, VariableText): return 0 def disable(self): -# self.instance.hide() pass def enable(self): -# self.instance.show() pass # html: diff --git a/lib/python/Components/EventInfo.py b/lib/python/Components/EventInfo.py index 36a5aa4d..de16a173 100644 --- a/lib/python/Components/EventInfo.py +++ b/lib/python/Components/EventInfo.py @@ -13,13 +13,13 @@ class EventInfo(PerServiceDisplay): Next_StartTime = 5 def __init__(self, navcore, now_or_next): - # listen to evUpdatedEventInfo and evStopService - # note that evStopService will be called once to establish a known state + # listen to evUpdatedEventInfo and evEnd + # note that evEnd will be called once to establish a known state self.now_or_next = now_or_next PerServiceDisplay.__init__(self, navcore, { - pNavigation.evUpdatedEventInfo: self.ourEvent, - pNavigation.evStopService: self.stopEvent + iPlayableService.evUpdatedEventInfo: self.ourEvent, + iPlayableService.evEnd: self.stopEvent }) def ourEvent(self): @@ -53,8 +53,8 @@ class EventInfoProgress(PerServiceDisplayProgress, EventInfo): self.now_or_next = now_or_next PerServiceDisplayProgress.__init__(self, navcore, { - pNavigation.evUpdatedEventInfo: self.ourEvent, - pNavigation.evStopService: self.stopEvent + iPlayableService.evUpdatedEventInfo: self.ourEvent, + iPlayableService.evEnd: self.stopEvent }) def update(self, ev): |
