aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-24 14:29:31 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-24 14:29:31 +0000
commit523329f059798ade1a43f905187682671d7298f2 (patch)
treed6a72c29112de831ec0d21b49925b2bb3f5df45a /lib/python
parentdf7d9f3578c68b22c95ab9daa23bd0fa168f6d11 (diff)
downloadenigma2-523329f059798ade1a43f905187682671d7298f2.tar.gz
enigma2-523329f059798ade1a43f905187682671d7298f2.zip
use new show/hide
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py24
-rw-r--r--lib/python/Screens/MessageBox.py6
2 files changed, 15 insertions, 15 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index d6e5e3c7..6fbf9ded 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -945,7 +945,7 @@ class InfoBarInstantRecord:
})
self.recording = None
self["BlinkingPoint"] = BlinkingPixmapConditional()
- self.onLayoutFinish.append(self["BlinkingPoint"].hideWidget)
+ self["BlinkingPoint"].hide()
self["BlinkingPoint"].setConnect(self.session.nav.RecordTimer.isRecording)
def stopCurrentRecording(self):
@@ -1076,11 +1076,11 @@ class InfoBarAdditionalInfo:
self.session.nav.event.append(self.gotServiceEvent) # we like to get service events
def hideSubServiceIndication(self):
- self["ButtonGreen"].hideWidget()
+ self["ButtonGreen"].hide()
self["ButtonGreenText"].hide()
def showSubServiceIndication(self):
- self["ButtonGreen"].showWidget()
+ self["ButtonGreen"].show()
self["ButtonGreenText"].show()
def checkFormat(self, service):
@@ -1088,9 +1088,9 @@ class InfoBarAdditionalInfo:
if info is not None:
aspect = info.getInfo(iServiceInformation.sAspect)
if aspect in [ 3, 4, 7, 8, 0xB, 0xC, 0xF, 0x10 ]:
- self["FormatActive"].showWidget()
+ self["FormatActive"].show()
else:
- self["FormatActive"].hideWidget()
+ self["FormatActive"].hide()
def checkSubservices(self, service):
if service.subServices().getNumberOfSubservices() > 0:
@@ -1111,17 +1111,17 @@ class InfoBarAdditionalInfo:
dolby = True
break
if dolby:
- self["DolbyActive"].showWidget()
+ self["DolbyActive"].show()
else:
- self["DolbyActive"].hideWidget()
+ self["DolbyActive"].hide()
def checkCrypted(self, service):
info = service.info()
if info is not None:
if info.getInfo(iServiceInformation.sIsCrypted) > 0:
- self["CryptActive"].showWidget()
+ self["CryptActive"].show()
else:
- self["CryptActive"].hideWidget()
+ self["CryptActive"].hide()
def gotServiceEvent(self, ev):
service = self.session.nav.getCurrentService()
@@ -1133,9 +1133,9 @@ class InfoBarAdditionalInfo:
self.checkDolby(service)
elif ev == iPlayableService.evEnd:
self.hideSubServiceIndication()
- self["CryptActive"].hideWidget()
- self["DolbyActive"].hideWidget()
- self["FormatActive"].hideWidget()
+ self["CryptActive"].hide()
+ self["DolbyActive"].hide()
+ self["FormatActive"].hide()
class InfoBarNotifications:
def __init__(self):
diff --git a/lib/python/Screens/MessageBox.py b/lib/python/Screens/MessageBox.py
index f13e14b5..78224e14 100644
--- a/lib/python/Screens/MessageBox.py
+++ b/lib/python/Screens/MessageBox.py
@@ -24,11 +24,11 @@ class MessageBox(Screen):
self.list = []
if type != self.TYPE_ERROR:
- self.onShown.append(self["ErrorPixmap"].hideWidget)
+ self["ErrorPixmap"].hide()
elif type != self.TYPE_YESNO:
- self.onShown.append(self["QuestionPixmap"].hideWidget)
+ self["QuestionPixmap"].hide()
elif type != self.TYPE_INFO:
- self.onShown.append(self["InfoPixmap"].hideWidget)
+ self["InfoPixmap"].hide()
if type == self.TYPE_YESNO:
self.list = [ (_("yes"), 0), (_("no"), 1) ]