blob: c8e9b6c74ee456ccb8e5b55b5524ef015b7690cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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 *
class Dish(Screen):
def __init__(self, session):
Screen.__init__(self, session)
self["transparent"] = Button("")
self["Dishpixmap"] = BlinkingPixmapConditional()
#self["Dishpixmap"] = Pixmap()
if currentConfigSelectionElement(config.usage.showdish) == "no":
self["Dishpixmap"].setConnect(lambda: False)
else:
self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)
|