summaryrefslogtreecommitdiffstats
path: root/iw/examine_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-21 21:20:18 +0000
committerMike Fulbright <msf@redhat.com>2003-04-21 21:20:18 +0000
commit5ffcf43c6e4c8f9b8ccca8f6da736ea754713212 (patch)
tree4550687eb06c0f1df8359f25a248d011ea45cd59 /iw/examine_gui.py
parente786d0f555169d1dc1e259014631695dfb9f5679 (diff)
downloadanaconda-5ffcf43c6e4c8f9b8ccca8f6da736ea754713212.tar.gz
anaconda-5ffcf43c6e4c8f9b8ccca8f6da736ea754713212.tar.xz
anaconda-5ffcf43c6e4c8f9b8ccca8f6da736ea754713212.zip
brent and I decided customize packages to upgrade is not useful and just clutters the display. If we ever add a "Here is whats new in Red Hat Linux xxx" screen we can bring back the concept
Diffstat (limited to 'iw/examine_gui.py')
-rw-r--r--iw/examine_gui.py38
1 files changed, 20 insertions, 18 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index 944fe1c22..3255af112 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -43,7 +43,7 @@ class UpgradeExamineWindow (InstallWindow):
self.id.upgradeRoot = [(rootfs[0], rootfs[1])]
self.id.rootParts = self.parts
- if self.individualPackages.get_active():
+ if self.individualPackages is not None and self.individualPackages.get_active():
self.dispatch.skipStep("indivpackage", skip = 0)
else:
self.dispatch.skipStep("indivpackage")
@@ -56,7 +56,7 @@ class UpgradeExamineWindow (InstallWindow):
def createUpgradeOption(self):
r = pixmapRadioButtonGroup()
r.addEntry(UPGRADE_STR,
- _("Perform an upgrade of an existing installation"),
+ _("_Upgrade an existing installation"),
pixmap=self.ics.readPixmap("upgrade.png"),
descr=_("Choose this option if you would like "
"to upgrade your existing %s system. "
@@ -64,19 +64,17 @@ class UpgradeExamineWindow (InstallWindow):
"existing data on your drives.") %(productName,))
r.addEntry(REINSTALL_STR,
- _("Perform a new %s installation") %(productName,),
+ _("_Install %s") %(productName,),
pixmap=self.ics.readPixmap("install.png"),
- descr=_("Choose this option to install your system "
- "from scratch. Depending on how you choose "
- "to partition your system the existing data "
- "on your drives may or may not be preserved."))
-
+ descr=_("Choose this option to freshly install your system. " "Existing software and data may be overwritten "
+ "depending on your configuration choices."))
return r
def upgradeOptionsSetSensitivity(self, state):
self.uplabel.set_sensitive(state)
self.upgradeoption.set_sensitive(state)
- self.individualPackages.set_sensitive(state)
+ if self.individualPackages is not None:
+ self.individualPackages.set_sensitive(state)
def optionToggled(self, widget, name):
if name == UPGRADE_STR:
@@ -111,15 +109,19 @@ class UpgradeExamineWindow (InstallWindow):
vbox.pack_start (box, gtk.FALSE)
self.root = self.parts[0]
- self.individualPackages = gtk.CheckButton (_("_Customize packages to be "
- "upgraded"))
- self.individualPackages.set_active (not dispatch.stepInSkipList("indivpackage"))
- ipbox = gtk.HBox(gtk.FALSE)
- crackhbox = gtk.HBox(gtk.FALSE)
- crackhbox.set_size_request(70, -1)
- ipbox.pack_start(crackhbox, gtk.FALSE, gtk.FALSE)
- ipbox.pack_start(self.individualPackages, gtk.TRUE, gtk.TRUE)
- r.packWidgetInEntry(UPGRADE_STR, ipbox)
+#
+# lets remove this seemingly useless option - clutters display
+#
+# self.individualPackages = gtk.CheckButton (_("_Customize packages to be "
+# "upgraded"))
+# self.individualPackages.set_active (not dispatch.stepInSkipList("indivpackage"))
+# ipbox = gtk.HBox(gtk.FALSE)
+# crackhbox = gtk.HBox(gtk.FALSE)
+# crackhbox.set_size_request(70, -1)
+# ipbox.pack_start(crackhbox, gtk.FALSE, gtk.FALSE)
+# ipbox.pack_start(self.individualPackages, gtk.TRUE, gtk.TRUE)
+# r.packWidgetInEntry(UPGRADE_STR, ipbox)
+ self.individualPackages = None
# hack hack hackity hack