diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-23 05:19:57 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-23 05:19:57 +0000 |
| commit | b2d6392a3b41f870b5615c8e19b26496e56f6310 (patch) | |
| tree | df2f0d446d2afb704941d7cd4e7e2262b1f3a660 /lib/python/Screens/MovieSelection.py | |
| parent | 7ae6b9f9b79a7fb2a94fcc4863f1cfdade7ce19b (diff) | |
| download | enigma2-b2d6392a3b41f870b5615c8e19b26496e56f6310.tar.gz enigma2-b2d6392a3b41f870b5615c8e19b26496e56f6310.zip | |
beautify messagebox
add functionality to the messagebox
Diffstat (limited to 'lib/python/Screens/MovieSelection.py')
| -rw-r--r-- | lib/python/Screens/MovieSelection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/MovieSelection.py b/lib/python/Screens/MovieSelection.py index ffa73c14..2ba2d059 100644 --- a/lib/python/Screens/MovieSelection.py +++ b/lib/python/Screens/MovieSelection.py @@ -32,7 +32,7 @@ class ChannelContextMenu(FixedMenu): if result == True: self.session.openWithCallback(self.deleteConfirmed, MessageBox, _("Do you really want to delete this recording?")) else: - self.session.openWithCallback(self.close, MessageBox, _("You cannot delete this!")) + self.session.openWithCallback(self.close, MessageBox, _("You cannot delete this!"), MessageBox.TYPE_ERROR) def deleteConfirmed(self, confirmed): if not confirmed: @@ -47,7 +47,7 @@ class ChannelContextMenu(FixedMenu): result = True if result == False: - self.session.openWithCallback(self.close, MessageBox, _("Delete failed!")) + self.session.openWithCallback(self.close, MessageBox, _("Delete failed!"), MessageBox.TYPE_ERROR) else: list = self.csel["list"] currentIndex = list.getCurrentIndex() |
