summaryrefslogtreecommitdiffstats
path: root/iw/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/keyboard.py')
-rw-r--r--iw/keyboard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/keyboard.py b/iw/keyboard.py
index 4c0ef98e5..4ae52a250 100644
--- a/iw/keyboard.py
+++ b/iw/keyboard.py
@@ -1,6 +1,7 @@
from gtk import *
from iw import *
import xkb
+import string
from gui import _
class KeyboardWindow (InstallWindow):
@@ -13,7 +14,7 @@ class KeyboardWindow (InstallWindow):
ics.setNextEnabled (TRUE)
self.kb = xkb.XKB ()
self.rules = self.kb.getRules ()
- rules = _xkb.get_rulesbase ()
+ rules = self.kb.getRulesBase ()
self.rulesbase = rules[string.rfind (rules, "/")+1:]
self.model = "pc101"
self.layout = "en_US"