From c07ef37363acfc50785a60936562898410d8b05a Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Fri, 16 Jun 2000 01:11:46 +0000 Subject: user formattablePartititions() --- iw/format_gui.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'iw') diff --git a/iw/format_gui.py b/iw/format_gui.py index 3ac29a3cc..b8e2b9194 100644 --- a/iw/format_gui.py +++ b/iw/format_gui.py @@ -26,16 +26,15 @@ class FormatWindow (InstallWindow): box = GtkVBox (FALSE, 10) - mounts = self.todo.fstab.mountList() + mounts = self.todo.fstab.formattablePartitions() gotOne = 0 for (mount, dev, fstype, format, size) in mounts: - if fstype == "ext2": - gotOne = 1 - checkButton = GtkCheckButton ("/dev/%s %s" % (dev, mount)) - checkButton.set_active (format) - checkButton.connect ("toggled", toggled, (self.todo, dev)) - box.pack_start (checkButton) + gotOne = 1 + checkButton = GtkCheckButton ("/dev/%s %s" % (dev, mount)) + checkButton.set_active (format) + checkButton.connect ("toggled", toggled, (self.todo, dev)) + box.pack_start (checkButton) if not gotOne: return None -- cgit