diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-05 19:24:42 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-05 19:24:42 +0000 |
| commit | 572caca1ba06dd8247724c9f5d6bcad515e2edf4 (patch) | |
| tree | 8525a3017c1d58b03b667cd8d77f942318256ddd /lib/python/Components | |
| parent | 3c2c648735df18576453aa52f0d8441793619dc7 (diff) | |
| download | enigma2-572caca1ba06dd8247724c9f5d6bcad515e2edf4.tar.gz enigma2-572caca1ba06dd8247724c9f5d6bcad515e2edf4.zip | |
add support for Linkage services ( Premiere Subservices )
TODO: show/hide green point depending on avail subservices
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Label.py | 5 | ||||
| -rw-r--r-- | lib/python/Components/ServiceName.py | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/python/Components/Label.py b/lib/python/Components/Label.py index 7402d722..c2d57743 100644 --- a/lib/python/Components/Label.py +++ b/lib/python/Components/Label.py @@ -22,3 +22,8 @@ class Label(HTMLComponent, GUIComponent, VariableText): s = self.instance.calculateSize() return (s.width(), s.height()) + def show(self): + self.instance.show() + + def hide(self): + self.instance.hide() diff --git a/lib/python/Components/ServiceName.py b/lib/python/Components/ServiceName.py index 2e794d67..a9c0930a 100644 --- a/lib/python/Components/ServiceName.py +++ b/lib/python/Components/ServiceName.py @@ -17,8 +17,9 @@ class ServiceName(PerServiceDisplay): if service is not None: info = service.info() if info is not None: - self.setText(info.getName()) - setLCD(info.getName()) + name = info.getName() + self.setText(name) + setLCD(name) def stopEvent(self): self.setText(""); |
