Hi, I added MessageWindow(s) for luksPassphrase. These MessageWindow(s) is shown up, when passphrase is shorter than 8(self.minimumLength) characters or passphrase does not match. Would you review this attached patch, please? thank you,
diff --git a/gui.py b/gui.py index 2d9facf..845e883 100755 --- a/gui.py +++ b/gui.py @@ -646,12 +646,15 @@ class luksPassphraseWindow: passphrase = self.passphraseEntry.get_text() confirm = self.confirmEntry.get_text() if passphrase != confirm: - # FIXME: a messageWindow would help here + MessageWindow(_("Passphrase don't match"), + _("Passphrase do not match"), type = "warning") self.confirmEntry.set_text("") continue if len(passphrase) < self.minimumLength: - # FIXME: a messageWindow would help here + MessageWindow(_("Passphrase is short"), + _("Your passphrase is shorter than %s characters" + % (self.minimumLength, )), type = "warning") self.passphraseEntry.set_text("") self.confirmEntry.set_text("") continue
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list