summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-07-12 21:30:39 +0000
committerMatt Wilson <msw@redhat.com>1999-07-12 21:30:39 +0000
commita0cb3bcc1f9a1c3279039a57f26f47214dab2535 (patch)
treed9e42ed07856a250a2f2012c5e887f12fa1ed7a8 /gui.py
parentdb82ff89a9781adb943a4e7a32f1b0f3bceb6581 (diff)
downloadanaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.tar.gz
anaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.tar.xz
anaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.zip
more pythonesque in language dialog
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index d5b870d4f..c6302eb76 100755
--- a/gui.py
+++ b/gui.py
@@ -19,8 +19,8 @@ class LanguageWindow:
ics.setHTML ("<HTML><BODY>Select which language you would like"
"to use for the system default.</BODY></HTML>")
- self.languages = ("English", "German", "French", "Spanish",
- "Hungarian", "Japanese", "Chinese", "Korean")
+ self.languages = ["English", "German", "French", "Spanish",
+ "Hungarian", "Japanese", "Chinese", "Korean"]
self.question = ("What language should be used during the "
"installation process?")
@@ -32,8 +32,8 @@ class LanguageWindow:
box = GtkVBox (FALSE, 10)
language1 = GtkRadioButton (None, self.languages[0])
box.pack_start (language1, FALSE)
- for i in range (1, len (self.languages)):
- language = GtkRadioButton (language1, self.languages[i])
+ for locale in self.languages[1:]:
+ language = GtkRadioButton (language1, locale)
box.pack_start (language, FALSE)
align = GtkAlignment (0.5, 0.5)