summaryrefslogtreecommitdiffstats
path: root/iw/keyboard.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-25 19:31:54 +0000
committerMatt Wilson <msw@redhat.com>1999-09-25 19:31:54 +0000
commitb256de13e47ff731c99a940750bf440428577814 (patch)
tree1d85f3773535c2a27e35b7d2aedb82019b31bcc8 /iw/keyboard.py
parentcd2f5a889704ab197c5d44ee9bc81d7a78e60ab0 (diff)
downloadanaconda-b256de13e47ff731c99a940750bf440428577814.tar.gz
anaconda-b256de13e47ff731c99a940750bf440428577814.tar.xz
anaconda-b256de13e47ff731c99a940750bf440428577814.zip
more fixes.
Diffstat (limited to 'iw/keyboard.py')
-rw-r--r--iw/keyboard.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/keyboard.py b/iw/keyboard.py
index 8bff500b2..8bdbfb6c3 100644
--- a/iw/keyboard.py
+++ b/iw/keyboard.py
@@ -19,9 +19,12 @@ class KeyboardWindow (InstallWindow):
self.model = "pc101"
self.layout = "en_US"
self.variant = ""
+ self.hasrun = 0
def getNext (self):
- self.todo.x.setKeyboard (self.rulesbase, self.model, self.layout, self.variant, "")
+ if self.hasrun:
+ self.todo.x.setKeyboard (self.rulesbase, self.model,
+ self.layout, self.variant, "")
return None
def select_row (self, clist, row, col, event):
@@ -106,4 +109,5 @@ class KeyboardWindow (InstallWindow):
box.pack_start (entry, FALSE)
box.set_border_width (5)
+ self.hasrun = 1
return box