From c3651568e41a4efc283ad84f38dab987b423b248 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 9 Mar 2001 23:31:34 +0000 Subject: add language support to reconfig mode, fixes bug 24954 --- iw/installpath_gui.py | 1 - iw/language_support_gui.py | 17 +++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'iw') diff --git a/iw/installpath_gui.py b/iw/installpath_gui.py index c4d651250..7b74798b9 100644 --- a/iw/installpath_gui.py +++ b/iw/installpath_gui.py @@ -54,7 +54,6 @@ class InstallPathWindow (InstallWindow): ( AutoPartitionWindow, "partition" ), FDiskWindow, ( PartitionWindow, "partition" ), -# ( LBA32WarningWindow, "lba32warning"), ( FormatWindow, "format" ), ( BootloaderWindow, BootloaderSkipname ), ( NetworkWindow, "network" ), diff --git a/iw/language_support_gui.py b/iw/language_support_gui.py index d521df355..cb3c6b804 100644 --- a/iw/language_support_gui.py +++ b/iw/language_support_gui.py @@ -151,8 +151,10 @@ class LanguageSupportWindow (InstallWindow): sep = GtkHSeparator () vbox.pack_start (sep, FALSE, 15) - - label = GtkLabel (_("Choose the languages to install:")) + if self.todo.reconfigOnly: + label = GtkLabel (_("Currently installed languages:")) + else: + label = GtkLabel (_("Choose the languages to install:")) label.set_alignment (0.0, 0.5) label.set_line_wrap (TRUE) vbox.pack_start (label, FALSE) @@ -164,7 +166,6 @@ class LanguageSupportWindow (InstallWindow): self.language.connect ("button_press_event", self.support_select_row) self.language.connect ("key_press_event", self.language_key_press) - self.maxrows = 0 list = [] comboCurr = 0 @@ -222,9 +223,9 @@ class LanguageSupportWindow (InstallWindow): button = GtkButton (_("Select as default")) alignment.add (button) - return vbox - - - - + # in reconfig mode make some widgets unchangable + if self.todo.reconfigOnly: + self.language.set_sensitive(FALSE) + all_button.set_sensitive(FALSE) + return vbox -- cgit