From 7762c2cec98ee8b7d61d4347a1fcffe5da0d7f20 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 3 Apr 2006 12:01:02 +0000 Subject: remove old lcd stuff --- lib/python/Components/Clock.py | 1 - lib/python/Components/ServiceName.py | 27 --------------------------- 2 files changed, 28 deletions(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/Clock.py b/lib/python/Components/Clock.py index 982d1c4a..5d7ec8dc 100644 --- a/lib/python/Components/Clock.py +++ b/lib/python/Components/Clock.py @@ -32,7 +32,6 @@ class Clock(HTMLComponent, GUIComponent, VariableText): t = time.localtime() timestr = "%2d:%02d:%02d" % (t.tm_hour, t.tm_min, t.tm_sec) self.setText(timestr) - setLCDClock(timestr) # realisierung als GUI def createWidget(self, parent): diff --git a/lib/python/Components/ServiceName.py b/lib/python/Components/ServiceName.py index 8a148041..e69de29b 100644 --- a/lib/python/Components/ServiceName.py +++ b/lib/python/Components/ServiceName.py @@ -1,27 +0,0 @@ -from PerServiceDisplay import * - -#from enigma import iPlayableService, iServiceInformationPtr -from enigma import * - -class ServiceName(PerServiceDisplay): - def __init__(self, navcore): - PerServiceDisplay.__init__(self, navcore, - { - iPlayableService.evStart: self.newService, - iPlayableService.evEnd: self.stopEvent - }) - self.newService() - - def newService(self): - service = self.navcore.getCurrentService() - - if service is not None: - info = service.info() - if info is not None: - name = info.getName() - self.setText(name) - setLCD(name) - - def stopEvent(self): - self.setText(""); - -- cgit v1.2.3