diff options
author | Mike Fulbright <msf@redhat.com> | 2000-07-24 20:58:10 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-07-24 20:58:10 +0000 |
commit | edd5b46855cf2ae52b7ee7e5a332244594c39c3f (patch) | |
tree | 001e0019cbf695c996727f0543a66cac9a6f73ba /iw | |
parent | 2d84ce1e772906f4bb64c23115dc1d25c7e56a37 (diff) | |
download | anaconda-edd5b46855cf2ae52b7ee7e5a332244594c39c3f.tar.gz anaconda-edd5b46855cf2ae52b7ee7e5a332244594c39c3f.tar.xz anaconda-edd5b46855cf2ae52b7ee7e5a332244594c39c3f.zip |
fix for bug #13540
Diffstat (limited to 'iw')
-rw-r--r-- | iw/format_gui.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/iw/format_gui.py b/iw/format_gui.py index b8e2b9194..40ddb63be 100644 --- a/iw/format_gui.py +++ b/iw/format_gui.py @@ -29,17 +29,21 @@ class FormatWindow (InstallWindow): mounts = self.todo.fstab.formattablePartitions() gotOne = 0 + sw = GtkScrolledWindow () + sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) for (mount, dev, fstype, format, size) in mounts: gotOne = 1 checkButton = GtkCheckButton ("/dev/%s %s" % (dev, mount)) checkButton.set_active (format) checkButton.connect ("toggled", toggled, (self.todo, dev)) - box.pack_start (checkButton) + box.pack_start (checkButton, FALSE, FALSE) if not gotOne: return None + sw.add_with_viewport (box) + vbox = GtkVBox (FALSE, 10) - vbox.pack_start (box, FALSE, TRUE) + vbox.pack_start (sw, TRUE, TRUE) vbox.pack_start (GtkHSeparator (), FALSE, padding=3) |