From: Felix Domke Date: Mon, 3 Apr 2006 12:01:02 +0000 (+0000) Subject: remove old lcd stuff X-Git-Tag: 2.6.0~3738 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/7762c2cec98ee8b7d61d4347a1fcffe5da0d7f20 remove old lcd stuff --- 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(""); - diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index eef5ec17..65cb042e 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -90,8 +90,6 @@ is usually caused by not marking PSignals as immutable. extern void runMainloop(); extern void quitMainloop(int exit_code); -extern void setLCD(const char *c); -extern void setLCDClock(const char *c); extern eApplication *getApplication(); extern PSignal1 &keyPressedSignal(); @@ -248,8 +246,6 @@ public: void runMainloop(); void quitMainloop(int exit_code); -void setLCD(const char*); -void setLCDClock(const char*); eApplication *getApplication(); %immutable keyPressed; PSignal1 &keyPressedSignal();