From 124d18766f09faf0209eeb052c8c8a865e672eb3 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 18 Jan 2006 20:21:53 +0000 Subject: reenable the blinking dish on positioner movement (can be enabled in the usage setup menu) dish designed by juergen - thanx for that --- lib/python/Screens/Dish.py | 7 +++++-- lib/python/Screens/InfoBarGenerics.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/python/Screens') diff --git a/lib/python/Screens/Dish.py b/lib/python/Screens/Dish.py index 1f5c391c..c8e9b6c7 100644 --- a/lib/python/Screens/Dish.py +++ b/lib/python/Screens/Dish.py @@ -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) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index c3b1a086..fc19c806 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -39,7 +39,7 @@ from Menu import MainMenu, mdom class InfoBarDish: def __init__(self): self.dishDialog = self.session.instantiateDialog(Dish) - self.onShown.append(self.dishDialog.instance.hide) + self.onShown.append(self.dishDialog.instance.show) class InfoBarShowHide: """ InfoBar show/hide control, accepts toggleShow and hide actions, might start -- cgit v1.2.3