diff options
author | Mike Fulbright <msf@redhat.com> | 2001-06-28 20:43:46 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-06-28 20:43:46 +0000 |
commit | 93200f2e56fb8bb76892b4399f679c32228f602c (patch) | |
tree | 6d3f900fee93baaae86cffc12917e6979e2a8b44 /installclass.py | |
parent | 6901b63410c3ad3103680b97c8991eebcf084144 (diff) | |
download | anaconda-93200f2e56fb8bb76892b4399f679c32228f602c.tar.gz anaconda-93200f2e56fb8bb76892b4399f679c32228f602c.tar.xz anaconda-93200f2e56fb8bb76892b4399f679c32228f602c.zip |
set keyboard type if passed to anaconda
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/installclass.py b/installclass.py index 5f85e3a6f..0be9810b3 100644 --- a/installclass.py +++ b/installclass.py @@ -189,15 +189,17 @@ class BaseInstallClass: def setKeyboard(self, id, kb): id.keyboard.set(kb) - # XXX - #xkb = todo.keyboard.getXKB () + xkb = id.keyboard.getXKB () + + if xkb: + apply(id.xconfig.setKeyboard, xkb) - #if xkb: - #apply (todo.x.setKeyboard, xkb) + # XXX + #apply (todo.x.setKeyboard, xkb) - ## hack - apply to instclass preset if present as well - #if (todo.instClass.x): - #apply (todo.instClass.x.setKeyboard, xkb) + ## hack - apply to instclass preset if present as well + #if (todo.instClass.x): + #apply (todo.instClass.x.setKeyboard, xkb) def setHostname(self, id, hostname): id.network.setHostname(hostname); |