diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-28 20:01:29 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-28 20:01:29 +0000 |
commit | 6eccec4aace36083984ad7e70db5e11dc3738b3d (patch) | |
tree | ba285708680898d8027f92a299eac2361681fbe5 /iw/package_gui.py | |
parent | e6e41e3dde4ab7ae306297e98d45475309e71e4e (diff) | |
download | anaconda-6eccec4aace36083984ad7e70db5e11dc3738b3d.tar.gz anaconda-6eccec4aace36083984ad7e70db5e11dc3738b3d.tar.xz anaconda-6eccec4aace36083984ad7e70db5e11dc3738b3d.zip |
fix for bug #67645
Diffstat (limited to 'iw/package_gui.py')
-rw-r--r-- | iw/package_gui.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py index 9cffe8042..38325d957 100644 --- a/iw/package_gui.py +++ b/iw/package_gui.py @@ -524,7 +524,9 @@ class PackageSelectionWindow (InstallWindow): for comp in compsorder: if not comp.hidden: numvis = numvis + 1 - + +# grpTooltips = gtk.Tooltips() +# grpTooltips.enable() idx = 0 for comp in compsorder: if not comp.hidden: @@ -551,15 +553,21 @@ class PackageSelectionWindow (InstallWindow): checkButton.connect('toggled', self.componentToggled, comp) self.checkButtons.append ((checkButton, comp)) - if idx < numvis/2: + if numvis <= 30: + boxcol1.pack_start (checkButton) + elif idx < numvis/2: boxcol1.pack_start (checkButton) else: boxcol2.pack_start (checkButton) idx = idx + 1 +# for cb in self.checkButtons: +# grpTooltips.set_tip(cb[0], cb[1].name, "") + tmpbox = gtk.HBox(gtk.FALSE, 0) tmpbox.pack_start(boxcol1) - tmpbox.pack_start(boxcol2) + if numvis > 30: + tmpbox.pack_start(boxcol2) wrapper = gtk.VBox (gtk.FALSE, 0) wrapper.pack_start (tmpbox, gtk.FALSE) |