X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b6119305b4f5e6606750bf418c434ad9b5a810fa..4c2f2aa0d877022079e0670b9269cfe89c9ac8eb:/lib/python/Screens/MessageBox.py diff --git a/lib/python/Screens/MessageBox.py b/lib/python/Screens/MessageBox.py index df276670..c3e3813b 100644 --- a/lib/python/Screens/MessageBox.py +++ b/lib/python/Screens/MessageBox.py @@ -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: