blob: a34f0c5794ec6e5d8e06df82530e2332ed5690aa (
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
from enigma import eDVBSatelliteEquipmentControl
class Dish(Screen):
def __init__(self, session):
Screen.__init__(self, session)
self["transparent"] = Button("")
self["Dishpixmap"] = BlinkingPixmapConditional()
#self["Dishpixmap"] = Pixmap()
if not config.usage.showdish.value:
self["Dishpixmap"].setConnect(lambda: False)
else:
self["Dishpixmap"].setConnect(eDVBSatelliteEquipmentControl.getInstance().isRotorMoving)
|