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):
Screen.__init__(self, session)
self["text"] = Label(text)
+ self["Text"] = StaticText(text)
self.text = text
self.close_on_any_key = close_on_any_key
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: