Make Cancel button the default for 'Weak Password' dialog (#582660)
Resolves: rhbz#582660
---
iw/account_gui.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 4ff9c95..52b3e5c 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -127,6 +127,7 @@ class AccountWindow (InstallWindow):
ret = self.intf.messageWindow(_("Weak Password"),
_("You have provided a weak password: %s") % msg,
type="custom", custom_icon="error",
+ default=0,
custom_buttons=[_("Cancel"), _("Use Anyway")])
if ret == 0:
self.passwordError()
--
1.6.6.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|