diff options
Diffstat (limited to 'lib/python/Screens/MessageBox.py')
| -rw-r--r-- | lib/python/Screens/MessageBox.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Screens/MessageBox.py b/lib/python/Screens/MessageBox.py index e850f7fc..8b599a37 100644 --- a/lib/python/Screens/MessageBox.py +++ b/lib/python/Screens/MessageBox.py @@ -18,6 +18,8 @@ class MessageBox(Screen): self["text"] = Label(text) + self.text = text + self["ErrorPixmap"] = Pixmap() self["QuestionPixmap"] = Pixmap() self["InfoPixmap"] = Pixmap() @@ -106,4 +108,7 @@ class MessageBox(Screen): if self.timerRunning: self.timer.stop() self.setTitle(self.origTitle) - self.timerRunning = False
\ No newline at end of file + self.timerRunning = False + + def __repr__(self): + return str(type(self)) + "(" + self.text + ")" |
