more __deref__ changes
[enigma2.git] / lib / python / Screens / Dish.py
index c8e9b6c74ee456ccb8e5b55b5524ef015b7690cc..a34f0c5794ec6e5d8e06df82530e2332ed5690aa 100644 (file)
@@ -3,9 +3,9 @@ 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 Components.config import config
 
-from enigma import *
+from enigma import eDVBSatelliteEquipmentControl
 
 class Dish(Screen):
        def __init__(self, session):
@@ -14,7 +14,7 @@ class Dish(Screen):
                self["transparent"] = Button("")
                self["Dishpixmap"] = BlinkingPixmapConditional()
                #self["Dishpixmap"] = Pixmap()
-               if currentConfigSelectionElement(config.usage.showdish) == "no":
+               if not config.usage.showdish.value:
                        self["Dishpixmap"].setConnect(lambda: False)
                else:
                        self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)