Re: [PATCH rhel6-branch] Use the same error message in text mode and GUI (#625809)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-01-11 at 13:42 +0100, Radek Vykydal wrote:
> It is a weak password message.
> ---
>  textw/userauth_text.py |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/textw/userauth_text.py b/textw/userauth_text.py
> index 8798348..ab7abd0 100644
> --- a/textw/userauth_text.py
> +++ b/textw/userauth_text.py
> @@ -81,10 +81,10 @@ class RootPasswordWindow:
>                  except ValueError, e:
>                      msg = gettext.ldgettext("cracklib", e)
>                      ret = anaconda.intf.messageWindow(_("Weak Password"),
> -                             _("You have provided a weak password: %s\n\n"
> -                               "Would you like to continue with this password?"
> -                               % (msg, )),
> -                             type = "yesno", default="no")
> +                              _("You have provided a weak password: %s") % msg,
> +                              type="custom", custom_icon="error",
> +                              default=0,
> +                              custom_buttons=[_("Cancel"), _("_Use Anyway")])
>                      if ret == 1:
>                          break
>                  else:

ack,

but what about the Cancel mnemonic, don't we want that too ?

-- 
Martin Gracik <mgracik@xxxxxxxxxx>

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux