summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iw/keyboard.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/iw/keyboard.py b/iw/keyboard.py
index f29c1f376..5933a63e7 100644
--- a/iw/keyboard.py
+++ b/iw/keyboard.py
@@ -19,10 +19,13 @@ class KeyboardWindow (InstallWindow):
return None
def select_row (self, clist, row, col, event):
- self.kb.setRule (self.modelList.get_row_data (self.modelList.selection[0]),
- self.layoutList.get_row_data (self.layoutList.selection[0]),
- self.variantList.get_row_data (self.variantList.selection[0]),
- "complete")
+ model = self.modelList.get_row_data (self.modelList.selection[0])
+ layout = self.layoutList.get_row_data (self.layoutList.selection[0])
+ variant = self.variantList.get_row_data (self.variantList.selection[0])
+ options = "complete"
+
+ self.kb.setRule (model, layout, variant, options)
+ self.todo.x.setKeyboard (model, layout, variant, "")
def getScreen (self):
box = GtkVBox (FALSE, 5)