summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorbfox <bfox>2001-01-12 16:49:48 +0000
committerbfox <bfox>2001-01-12 16:49:48 +0000
commit6ce3bbc9778928027ebc2455f7802e24c3fa7288 (patch)
tree23fc80b7060a5e1f0618cdbe80692e7a9d799a11 /iw
parent0115c3f0feb74c709167bd9f4ae5e5a7ade71415 (diff)
downloadanaconda-6ce3bbc9778928027ebc2455f7802e24c3fa7288.tar.gz
anaconda-6ce3bbc9778928027ebc2455f7802e24c3fa7288.tar.xz
anaconda-6ce3bbc9778928027ebc2455f7802e24c3fa7288.zip
Partially resolves bug #23262. Changed the place where the keymaps are applied.
Diffstat (limited to 'iw')
-rw-r--r--iw/keyboard_gui.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/iw/keyboard_gui.py b/iw/keyboard_gui.py
index 9cecb59cd..31429e099 100644
--- a/iw/keyboard_gui.py
+++ b/iw/keyboard_gui.py
@@ -30,6 +30,9 @@ class KeyboardWindow (InstallWindow):
def getNext (self):
if self.hasrun:
+ if self.todo.setupFilesystems:
+ self.kb.setRule (self.model, self.layout, self.variant, "complete")
+
self.todo.x.setKeyboard (self.rulesbase, self.model,
self.layout, self.variant, "")
self.todo.keyboard.setfromx (self.model, self.layout, self.variant)
@@ -43,7 +46,11 @@ class KeyboardWindow (InstallWindow):
self.model = self.modelList.get_row_data (self.modelList.selection[0])
self.layout = self.layoutList.get_row_data (self.layoutList.selection[0])
self.variant = self.variantList.get_row_data (self.variantList.selection[0])
-
+
+# if self.todo.setupFilesystems:
+# self.kb.setRule (self.model, self.layout, self.variant, "complete")
+
+ def setMap (self, data):
if self.todo.setupFilesystems:
self.kb.setRule (self.model, self.layout, self.variant, "complete")
@@ -134,6 +141,8 @@ class KeyboardWindow (InstallWindow):
entry = GtkEntry ()
box.pack_start (entry, FALSE)
+ entry.connect("grab-focus", self.setMap)
+
box.set_border_width (5)
self.hasrun = 1
return box