aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-08-04 11:42:54 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-08-04 11:42:54 +0000
commit3285eb3ebcd0ba134ac6b80337f8519d5a0da5b0 (patch)
treea8c3c8405952fdd6bba33891e0341e3e7ccc9905 /lib/python
parentcaeccfb6b669fa5c17f6233788271085c227f234 (diff)
downloadenigma2-3285eb3ebcd0ba134ac6b80337f8519d5a0da5b0.tar.gz
enigma2-3285eb3ebcd0ba134ac6b80337f8519d5a0da5b0.zip
immediate take care of changed "visualize rotor movement" option
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Dish.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Screens/Dish.py b/lib/python/Screens/Dish.py
index a34f0c57..e05b2a88 100644
--- a/lib/python/Screens/Dish.py
+++ b/lib/python/Screens/Dish.py
@@ -14,7 +14,11 @@ class Dish(Screen):
self["transparent"] = Button("")
self["Dishpixmap"] = BlinkingPixmapConditional()
#self["Dishpixmap"] = Pixmap()
- if not config.usage.showdish.value:
+ config.usage.showdish.addNotifier(self.configChanged)
+ self.configChanged(config.usage.showdish)
+
+ def configChanged(self, configElement):
+ if not configElement.value:
self["Dishpixmap"].setConnect(lambda: False)
else:
self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)