summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-09-22 00:05:07 +0000
committerpnfisher <pnfisher>1999-09-22 00:05:07 +0000
commit63f66012b8109ae6505abf347ee5a73dd24d3f7e (patch)
treeedac70db072530c3cc6c3e7dd8e868257786a992
parentdd42b7d272ee72b245d33467f2fe46d478b29406 (diff)
downloadanaconda-63f66012b8109ae6505abf347ee5a73dd24d3f7e.tar.gz
anaconda-63f66012b8109ae6505abf347ee5a73dd24d3f7e.tar.xz
anaconda-63f66012b8109ae6505abf347ee5a73dd24d3f7e.zip
Handle state for individual package selection button for group package
selection window.
-rw-r--r--iw/package.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/iw/package.py b/iw/package.py
index 5ee324e50..af8fef047 100644
--- a/iw/package.py
+++ b/iw/package.py
@@ -377,17 +377,20 @@ class PackageSelectionWindow (InstallWindow):
ics.setTitle (_("Package Group Selection"))
ics.setNextEnabled (1)
ics.readHTML ("sel-group")
+ self.selectIndividualPackages = FALSE
+
## ics.setHTML ("<HTML><BODY>Next you must select which package groups to install."
## "</BODY></HTML>")
def getNext (self):
- if not self.__dict__.has_key("individualPackages"):
+ if not self.__dict__.has_key ("individualPackages"):
return None
if self.individualPackages.get_active ():
+ self.selectIndividualPackages = TRUE
return IndividualPackageSelectionWindow
- else:
- return None
+
+ return None
def getScreen (self):
threads_leave ()
@@ -442,7 +445,7 @@ class PackageSelectionWindow (InstallWindow):
vbox = GtkVBox (FALSE, 5)
self.individualPackages = GtkCheckButton (_("Select individual packages"))
- self.individualPackages.set_active (FALSE)
+ self.individualPackages.set_active (self.selectIndividualPackages)
align = GtkAlignment (0.5, 0.5)
align.add (self.individualPackages)