dont show WLAN Status when WLAN IF is not up
[enigma2.git] / lib / python / Screens / MessageBox.py
index df2766702da77c5b491c719e3801a766de280cee..c3e3813b0c65d14f2bfce2d9e69f73b04df1ab98 100644 (file)
@@ -3,6 +3,7 @@ from Components.ActionMap import ActionMap
 from Components.Label import Label
 from Components.Pixmap import Pixmap
 from Components.MenuList import MenuList
+from Components.Sources.StaticText import StaticText
 from enigma import eTimer
 
 class MessageBox(Screen):
@@ -16,6 +17,7 @@ class MessageBox(Screen):
                Screen.__init__(self, session)
 
                self["text"] = Label(text)
+               self["Text"] = StaticText(text)
 
                self.text = text
                self.close_on_any_key = close_on_any_key
@@ -61,7 +63,7 @@ class MessageBox(Screen):
                self.timeout = timeout
                if timeout > 0:
                        self.timer = eTimer()
-                       self.timer.timeout.get().append(self.timerTick)
+                       self.timer.callback.append(self.timerTick)
                        self.onExecBegin.append(self.startTimer)
                        self.origTitle = None
                        if self.execing: