diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 10:54:25 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 14:07:30 -0500 |
commit | 2c4932e109f2f913d5efb9f906348ffaacd6b0ee (patch) | |
tree | ec54ace8deaeb96ae3bd0ee4bc4ee8ab2b4dc8c4 /textw | |
parent | 0ac1dd8055c7d146eb69efe4da3dcfd6ea844180 (diff) | |
download | anaconda-2c4932e109f2f913d5efb9f906348ffaacd6b0ee.tar.gz anaconda-2c4932e109f2f913d5efb9f906348ffaacd6b0ee.tar.xz anaconda-2c4932e109f2f913d5efb9f906348ffaacd6b0ee.zip |
Move keyboard to the Anaconda object.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/keyboard_text.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/keyboard_text.py b/textw/keyboard_text.py index 3dbc2d6e9..aa0201a3c 100644 --- a/textw/keyboard_text.py +++ b/textw/keyboard_text.py @@ -33,11 +33,11 @@ class KeyboardWindow: def __call__(self, screen, anaconda): if flags.serial or flags.virtpconsole: return INSTALL_NOOP - keyboards = anaconda.id.keyboard.modelDict.keys() + keyboards = anaconda.keyboard.modelDict.keys() keyboards.sort () - if anaconda.id.keyboard.beenset: - default = anaconda.id.keyboard.get () + if anaconda.keyboard.beenset: + default = anaconda.keyboard.get () else: default = anaconda.instLanguage.getDefaultKeyboard(anaconda.rootPath) @@ -53,10 +53,10 @@ class KeyboardWindow: if button == TEXT_BACK_CHECK: return INSTALL_BACK - anaconda.id.keyboard.set (keyboards[choice]) - anaconda.id.keyboard.beenset = 1 + anaconda.keyboard.set (keyboards[choice]) + anaconda.keyboard.beenset = 1 - anaconda.id.keyboard.activate() + anaconda.keyboard.activate() # FIXME: eventually, kbd.activate will do this try: |