diff options
author | Matt Wilson <msw@redhat.com> | 1999-07-12 21:30:39 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-07-12 21:30:39 +0000 |
commit | a0cb3bcc1f9a1c3279039a57f26f47214dab2535 (patch) | |
tree | d9e42ed07856a250a2f2012c5e887f12fa1ed7a8 /gui.py | |
parent | db82ff89a9781adb943a4e7a32f1b0f3bceb6581 (diff) | |
download | anaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.tar.gz anaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.tar.xz anaconda-a0cb3bcc1f9a1c3279039a57f26f47214dab2535.zip |
more pythonesque in language dialog
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |