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/Components/ConditionalWidget.py | 6 ++---- lib/python/Components/UsageConfig.py | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/ConditionalWidget.py b/lib/python/Components/ConditionalWidget.py index 43130fdc..031a1061 100644 --- a/lib/python/Components/ConditionalWidget.py +++ b/lib/python/Components/ConditionalWidget.py @@ -65,10 +65,6 @@ class ConditionalWidget(Widget): self.conditionalFunction = None self.activateCondition(False) - - - - import time class BlinkingWidget(Widget): @@ -93,10 +89,12 @@ class BlinkingWidget(Widget): self.showWidget() def startBlinking(self): + print "****************************** Start blinking" self.blinking = True self.timer.start(self.blinktime) def stopBlinking(self): + print "****************************** Stop blinking" self.blinking = False if (self.state == self.SHOWN): self.hideWidget() diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index 8b4a2960..5646a329 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -4,4 +4,5 @@ from enigma import * def InitUsageConfig(): config.usage = ConfigSubsection(); - config.usage.epgtoggle = configElement("config.usage.epgtoggle", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) ); \ No newline at end of file + config.usage.epgtoggle = configElement("config.usage.epgtoggle", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) ) + config.usage.showdish = configElement("config.usage.showdish", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) ) \ No newline at end of file -- cgit v1.2.3