diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-22 20:59:13 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-22 20:59:13 +0000 |
| commit | a902e9ddfd12aa1acdb346258348f993792b4401 (patch) | |
| tree | 59da9e55762eb2684b057eba0999ec352e709eab /lib/python/Screens | |
| parent | a9183680dd8bbbf889f5c45c5e4135344576b80d (diff) | |
| download | enigma2-a902e9ddfd12aa1acdb346258348f993792b4401.tar.gz enigma2-a902e9ddfd12aa1acdb346258348f993792b4401.zip | |
add info icon to MessageBox when type of message box is TYPE_INFO
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/MessageBox.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Screens/MessageBox.py b/lib/python/Screens/MessageBox.py index 632c9bc5..7ed252c6 100644 --- a/lib/python/Screens/MessageBox.py +++ b/lib/python/Screens/MessageBox.py @@ -20,13 +20,16 @@ class MessageBox(Screen): self["ErrorPixmap"] = Pixmap() self["QuestionPixmap"] = Pixmap() + self["InfoPixmap"] = Pixmap() self.list = [] if type != self.TYPE_ERROR: self.onShown.append(self["ErrorPixmap"].hideWidget) elif type != self.TYPE_YESNO: self.onShown.append(self["QuestionPixmap"].hideWidget) - + elif type != self.TYPE_INFO: + self.onShown.append(self["InfoPixmap"].hideWidget) + if type == self.TYPE_YESNO: self.list = [ (_("yes"), 0), (_("no"), 1) ] |
