summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorbfox <bfox>2001-01-17 22:57:54 +0000
committerbfox <bfox>2001-01-17 22:57:54 +0000
commit2cd546a1fbe68cda83d1cc3807b5001d186b50cd (patch)
treed34d0def996a3f1293f19333e32de9039ac18b30 /iw
parent80e9f778d09b955f59b5a7b923b9801cff73fbd6 (diff)
downloadanaconda-2cd546a1fbe68cda83d1cc3807b5001d186b50cd.tar.gz
anaconda-2cd546a1fbe68cda83d1cc3807b5001d186b50cd.tar.xz
anaconda-2cd546a1fbe68cda83d1cc3807b5001d186b50cd.zip
Fixed bug 23882
Diffstat (limited to 'iw')
-rw-r--r--iw/keyboard_gui.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/iw/keyboard_gui.py b/iw/keyboard_gui.py
index 31429e099..9595cb22d 100644
--- a/iw/keyboard_gui.py
+++ b/iw/keyboard_gui.py
@@ -28,6 +28,9 @@ class KeyboardWindow (InstallWindow):
self.variant = ""
self.hasrun = 0
+ self.ics = ics
+ self.icw = ics.getICW ()
+
def getNext (self):
if self.hasrun:
if self.todo.setupFilesystems:
@@ -57,7 +60,10 @@ class KeyboardWindow (InstallWindow):
# KeyboardWindow tag="kybd"
def getScreen (self):
if not self.hasrun:
- default = iutil.defaultKeyboard(self.todo.language.get())
+# default = iutil.defaultKeyboard(self.todo.language.get())
+ default = iutil.defaultKeyboard(self.icw.getLanguage ())
+# print default
+
if Keyboard.console2x.has_key (default):
self.model = Keyboard.console2x[default][0]
self.layout = Keyboard.console2x[default][1]