From b2d6392a3b41f870b5615c8e19b26496e56f6310 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 23 Dec 2005 05:19:57 +0000 Subject: beautify messagebox add functionality to the messagebox --- lib/python/Screens/MovieSelection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Screens/MovieSelection.py') 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() -- cgit v1.2.3