reenable the blinking dish on positioner movement (can be enabled in the usage setup...
[vuplus_dvbapp] / lib / python / Screens / Dish.py
index 1f5c391..c8e9b6c 100644 (file)
@@ -3,6 +3,7 @@ from Screen import Screen
 from Components.BlinkingPixmap import BlinkingPixmapConditional
 from Components.Pixmap import Pixmap
 from Components.Button import Button
+from Components.config import config, currentConfigSelectionElement
 
 from enigma import *
 
@@ -13,5 +14,7 @@ class Dish(Screen):
                self["transparent"] = Button("")
                self["Dishpixmap"] = BlinkingPixmapConditional()
                #self["Dishpixmap"] = Pixmap()
-               self["Dishpixmap"].setConnect(lambda: False)
-               #self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)
+               if currentConfigSelectionElement(config.usage.showdish) == "no":
+                       self["Dishpixmap"].setConnect(lambda: False)
+               else:
+                       self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)