diff options
author | Chris Lumens <clumens@redhat.com> | 2009-05-19 13:55:06 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-05-19 13:59:34 -0400 |
commit | 614dcfcc90e7d856d94a18a5403ca858afef17ff (patch) | |
tree | d525b15a1d69f1ba561f0fa2657b661c9e9aa9a4 /iw/account_gui.py | |
parent | 6e1ddeb0f2099d0d639ac671b3fe1696a4b4b458 (diff) | |
download | anaconda-614dcfcc90e7d856d94a18a5403ca858afef17ff.tar.gz anaconda-614dcfcc90e7d856d94a18a5403ca858afef17ff.tar.xz anaconda-614dcfcc90e7d856d94a18a5403ca858afef17ff.zip |
Make the weak password dialog comply with the HIG (#487435).
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r-- | iw/account_gui.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py index 2e54714e3..c18d6b67a 100644 --- a/iw/account_gui.py +++ b/iw/account_gui.py @@ -130,11 +130,9 @@ class AccountWindow (InstallWindow): except ValueError, e: msg = gettext.ldgettext("cracklib", e) ret = self.intf.messageWindow(_("Weak Password"), - _("Weak password provided: %s" - "\n\n" - "Would you like to continue with " - "this password?") % (msg, ), - type = "yesno") + _("You have provided a weak password: %s") % msg, + type="custom", custom_icon="error", + custom_buttons=[_("Cancel"), _("Use Anyway")]) if ret == 0: self.passwordError() |