diff options
author | bfox <bfox> | 2001-03-13 00:59:21 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-03-13 00:59:21 +0000 |
commit | 2431e72c385599737388e0e573b77ef2af3ebb69 (patch) | |
tree | 0cea64eca701550beb803a4388a9166e4a49ae2e /fstab.py | |
parent | ee5d5aa3f63deee94ab1363dc2b03ec70e2a1b88 (diff) | |
download | anaconda-2431e72c385599737388e0e573b77ef2af3ebb69.tar.gz anaconda-2431e72c385599737388e0e573b77ef2af3ebb69.tar.xz anaconda-2431e72c385599737388e0e573b77ef2af3ebb69.zip |
added the progress bars back
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -489,11 +489,8 @@ class Fstab: if swaps.has_key(file): continue if not os.access(file, os.R_OK): -# isys.ddfile(file, size, (progressWindow, _("Swap Space"), -# _("Creating swap space..."))) - - isys.ddfile(file, size) - + isys.ddfile(file, size, (progressWindow, _("Swap Space"), + _("Creating swap space..."))) iutil.execWithRedirect ("/usr/sbin/mkswap", [ "mkswap", '-v1', file ], @@ -507,18 +504,17 @@ class Fstab: isys.makeDevInode(device, file) if formatThisSwap: -# bfox - add these commented out lines back in at some point and make it work with GUI mode -# w = self.waitWindow(_("Formatting"), -# _("Formatting swap space...")) + w = self.waitWindow(_("Formatting"), + _("Formatting swap space...")) rc = iutil.execWithRedirect ("/usr/sbin/mkswap", [ "mkswap", '-v1', file ], stdout = None, stderr = None, searchPath = 1) -# w.pop() + w.pop() if rc: -# self.messageWindow(_("Error"), _("Error creating swap on device ") + file) + self.messageWindow(_("Error"), _("Error creating swap on device ") + file) raise ValueError else: isys.swapon (file) |