diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-02 00:23:59 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-02 00:23:59 +0000 |
commit | 65d275a600f18e726773f42ca55a65e1683f0137 (patch) | |
tree | 974abb5e390d0db8bfb52c690b1b71b08030edd5 /todo.py | |
parent | a88c61a538a78206c5293f86d884beac6113344c (diff) | |
download | anaconda-65d275a600f18e726773f42ca55a65e1683f0137.tar.gz anaconda-65d275a600f18e726773f42ca55a65e1683f0137.tar.xz anaconda-65d275a600f18e726773f42ca55a65e1683f0137.zip |
turn on the x server
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -657,13 +657,25 @@ class ToDo: # don't load it just for this if (not self.comps): return group = self.instClass.getGroups() - if (group == None): return 0 + packages = self.instClass.getGroups() + if (group == None and packages == None): return 0 for n in self.comps.keys(): self.comps[n].unselect(0) self.comps['Base'].select(1) - for n in group: - self.comps[n].select(1) + if group: + for n in group: + self.comps[n].select(1) + + if packages: + for n in packages: + self.hdlist[n].selected = 1 + + if self.x.server: + self.hdlist['XFree86-' + self.x.server].selected = 1 + + def selectPackage(self, package): + self.hdlist[package].selected = 1 def writeNetworkConfig (self): # /etc/sysconfig/network-scripts/ifcfg-* |