[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Important RHEL5 list of real issues without quick fixes
- From: Dave Lehman <dlehman redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: Important RHEL5 list of real issues without quick fixes
- Date: Mon, 03 Nov 2008 10:31:23 -0600
> text.py:262: No global (MessageWindow) found
Patch attached.
diff --git a/text.py b/text.py
index 2114cbc..5397665 100644
--- a/text.py
+++ b/text.py
@@ -259,19 +259,21 @@ class LuksPassphraseWindow:
confirm = confirmentry.value()
if passphrase != confirm:
- MessageWindow(_("Error with passphrase"),
- _("The passphrases you entered were "
- "different. Please try again."),
- type = "ok", custom_icon = "error")
+ ButtonChoiceWindow(self.screen,
+ _("Error with passphrase"),
+ _("The passphrases you entered were "
+ "different. Please try again."),
+ buttons=[TEXT_OK_BUTTON])
passphraseentry.set("")
confirmentry.set("")
continue
if len(passphrase) < self.minLength:
- MessageWindow(_("Error with passphrase"),
- _("The passphrase must be at least "
- "%d characters long.") % (self.minLength,),
- type = "ok", custom_icon = "error")
+ ButtonChoiceWindow(self.screen,
+ _("Error with passphrase"),
+ _("The passphrase must be at least "
+ "%d characters long.") % (self.minLength,),
+ buttons=[TEXT_OK_BUTTON])
passphraseentry.set("")
confirmentry.set("")
continue
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]