summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-25 04:41:33 +0000
committerErik Troan <ewt@redhat.com>2001-01-25 04:41:33 +0000
commit6388b600842cdb0aae71b62f24d4b87bf28bef5c (patch)
tree0eee1dde7402843943ada0b63fa0dda018e59eb4 /iw
parent2614338022649458a0f95a6382ad89a2763caeae (diff)
downloadanaconda-6388b600842cdb0aae71b62f24d4b87bf28bef5c.tar.gz
anaconda-6388b600842cdb0aae71b62f24d4b87bf28bef5c.tar.xz
anaconda-6388b600842cdb0aae71b62f24d4b87bf28bef5c.zip
more language changes -- why not?
Diffstat (limited to 'iw')
-rw-r--r--iw/keyboard_gui.py2
-rw-r--r--iw/language_gui.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/iw/keyboard_gui.py b/iw/keyboard_gui.py
index beab39646..08201608e 100644
--- a/iw/keyboard_gui.py
+++ b/iw/keyboard_gui.py
@@ -100,6 +100,7 @@ class KeyboardWindow (InstallWindow):
self.modelList.connect_after ("draw", moveto)
self.modelList.thaw ()
sw.add (self.modelList)
+ sw.set_policy (POLICY_NEVER, POLICY_AUTOMATIC)
box.pack_start (sw, TRUE)
box.pack_start (GtkLabel (_("Layout")), FALSE)
@@ -119,6 +120,7 @@ class KeyboardWindow (InstallWindow):
self.layoutList.connect_after ("draw", moveto)
self.layoutList.thaw ()
sw.add (self.layoutList)
+ sw.set_policy (POLICY_NEVER, POLICY_AUTOMATIC)
box.pack_start (sw, TRUE)
box.pack_start (GtkLabel (_("Dead Keys")), FALSE)
diff --git a/iw/language_gui.py b/iw/language_gui.py
index 902903d9d..f19209b48 100644
--- a/iw/language_gui.py
+++ b/iw/language_gui.py
@@ -24,7 +24,7 @@ class LanguageWindow (InstallWindow):
def getNext (self):
if self.lang:
- self.icw.setLanguage (self.todo.instTimeLanguage.getLangNick(self.lang))
+ self.icw.setLanguage (self.lang)
#--Go ahead and pull the release notes into memory. This allows them to be viewed
#--during package installation
@@ -77,8 +77,7 @@ class LanguageWindow (InstallWindow):
n = 0
for locale in self.languages:
row = self.language.append ((locale,))
- nick = self.todo.instTimeLanguage.getLangNick(locale)
- if nick == self.icw.getLanguage ():
+ if locale == self.todo.instTimeLanguage.getCurrent():
self.lang = locale
default = n
n = n + 1