> 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
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list