diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
commit | 9e1a444c46abcfc29c2e44ffd102fcc1eda6289e (patch) | |
tree | fc10e993fe6c8292fbd0cb57fb6ad4135b0a8fad /textw/userauth_text.py | |
parent | 2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 (diff) | |
download | anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.gz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.xz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.zip |
Make all UI steps use anaconda class. Add system-config-keyboard shim.
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r-- | textw/userauth_text.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index f2266680a..c29b44a1e 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -23,7 +23,7 @@ def has_bad_chars(pw): return 0 class RootPasswordWindow: - def __call__ (self, screen, intf, rootPw): + def __call__ (self, screen, anaconda): toplevel = GridFormHelp (screen, _("Root Password"), "rootpw", 1, 3) toplevel.add (TextboxReflowed(37, _("Pick a root password. You must " @@ -33,11 +33,11 @@ class RootPasswordWindow: "root password is a critical part " "of system security!")), 0, 0, (0, 0, 0, 1)) - if rootPw["isCrypted"]: - rootPw["password"] = "" + if anaconda.id.rootPassword["isCrypted"]: + anaconda.id.rootPassword["password"] = "" - entry1 = Entry (24, password = 1, text = rootPw["password"]) - entry2 = Entry (24, password = 1, text = rootPw["password"]) + entry1 = Entry (24, password = 1, text = anaconda.id.rootPassword["password"]) + entry2 = Entry (24, password = 1, text = anaconda.id.rootPassword["password"]) passgrid = Grid (2, 2) passgrid.setField (Label (_("Password:")), 0, 0, (0, 0, 1, 0), anchorLeft = 1) passgrid.setField (Label (_("Password (confirm):")), 0, 1, (0, 0, 1, 0), anchorLeft = 1) @@ -77,5 +77,5 @@ class RootPasswordWindow: entry2.set ("") screen.popWindow() - rootPw["password"] = entry1.value() + anaconda.id.rootPassword["password"] = entry1.value() return INSTALL_OK |