summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-09 23:31:34 +0000
committerMike Fulbright <msf@redhat.com>2001-03-09 23:31:34 +0000
commitc3651568e41a4efc283ad84f38dab987b423b248 (patch)
treeddc37815ea96559e857ee973a1848b3453624067 /iw
parent27324d409a4b8c3755f5da9ceed89983059f1e74 (diff)
downloadanaconda-c3651568e41a4efc283ad84f38dab987b423b248.tar.gz
anaconda-c3651568e41a4efc283ad84f38dab987b423b248.tar.xz
anaconda-c3651568e41a4efc283ad84f38dab987b423b248.zip
add language support to reconfig mode, fixes bug 24954
Diffstat (limited to 'iw')
-rw-r--r--iw/installpath_gui.py1
-rw-r--r--iw/language_support_gui.py17
2 files changed, 9 insertions, 9 deletions
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