summaryrefslogtreecommitdiffstats
path: root/iw/xconfig_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-05-20 15:29:42 +0000
committerJeremy Katz <katzj@redhat.com>2003-05-20 15:29:42 +0000
commita51283fad449d1ac3dbb01c65dd6f04aa57416c3 (patch)
tree0f2d516d000a6a99037320ee2c2cc442be96b858 /iw/xconfig_gui.py
parent1f3bf130e3705ed4d77af08cf51c12128ab5424d (diff)
downloadanaconda-a51283fad449d1ac3dbb01c65dd6f04aa57416c3.tar.gz
anaconda-a51283fad449d1ac3dbb01c65dd6f04aa57416c3.tar.xz
anaconda-a51283fad449d1ac3dbb01c65dd6f04aa57416c3.zip
merge fix from taroon
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r--iw/xconfig_gui.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 385fe5d85..208c825d7 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -210,7 +210,7 @@ class XCustomWindow (InstallWindow):
self.display_desktop_pixmap(desktop)
# XCustomWindow tag="xcustom"
- def getScreen (self, xsetup, monitor, videocard, desktop, comps,
+ def getScreen (self, xsetup, monitor, videocard, desktop, grpset,
instClass, instPath):
self.xsetup = xsetup
@@ -318,11 +318,11 @@ class XCustomWindow (InstallWindow):
self.box.pack_start (hbox1, gtk.FALSE)
#--If both KDE and GNOME are selected
- if comps:
- gnomeSelected = (comps.packages.has_key('gnome-session')
- and comps.packages['gnome-session'].selected)
- kdeSelected = (comps.packages.has_key('kdebase')
- and comps.packages['kdebase'].selected)
+ if grpset:
+ gnomeSelected = (grpset.hdrlist.has_key('gnome-session')
+ and grpset.hdrlist['gnome-session'].isSelected())
+ kdeSelected = (grpset.hdrlist.has_key('kdebase')
+ and grpset.hdrlist['kdebase'].isSelected)()
else:
gnomeSelected = 0
kdeSelected = 0