summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-27 20:33:37 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-27 20:33:37 +0000
commit7b7b11935b430f32be38061b2c3506b4499895ff (patch)
tree247b00ff2c2f4b2e9d0c890701b03b98fc6a1746 /iw
parent4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec (diff)
downloadanaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.gz
anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.xz
anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.zip
merge from taroon branch
Diffstat (limited to 'iw')
-rw-r--r--iw/package_gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py
index 578566e97..4457271d1 100644
--- a/iw/package_gui.py
+++ b/iw/package_gui.py
@@ -954,6 +954,10 @@ class PackageSelectionWindow (InstallWindow):
everythingComp = None
everythingCB = None
for par in parlist:
+ # don't show the top-level if there aren't any groups in it
+ if len(pardict[par]) == 0:
+ continue
+
# set the background to our selection color
eventBox = gtk.EventBox()
eventBox.modify_bg(gtk.STATE_NORMAL,