honor horizontal alignment also when a mark is present
[enigma2.git] / lib / python / Screens / Dish.py
index 4c7e7472b7dc51923c5194c42a24fa91855d9e5c..c8e9b6c74ee456ccb8e5b55b5524ef015b7690cc 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,4 +14,7 @@ class Dish(Screen):
                self["transparent"] = Button("")
                self["Dishpixmap"] = BlinkingPixmapConditional()
                #self["Dishpixmap"] = Pixmap()
-               self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)
+               if currentConfigSelectionElement(config.usage.showdish) == "no":
+                       self["Dishpixmap"].setConnect(lambda: False)
+               else:
+                       self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)