summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-11 19:33:10 +0000
committerMatt Wilson <msw@redhat.com>2000-08-11 19:33:10 +0000
commitd37e91dbbbe0438cc7dcd69657b7d5064e70625a (patch)
tree97a9f153ae96017830fbfa47a057a57b77047e40
parentedd52ac148d21dc05e340d225084dc4231210561 (diff)
downloadanaconda-d37e91dbbbe0438cc7dcd69657b7d5064e70625a.tar.gz
anaconda-d37e91dbbbe0438cc7dcd69657b7d5064e70625a.tar.xz
anaconda-d37e91dbbbe0438cc7dcd69657b7d5064e70625a.zip
fix i18n, enable screen in test mode
-rw-r--r--iw/rootpartition_gui.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/iw/rootpartition_gui.py b/iw/rootpartition_gui.py
index 40082c568..f96b36643 100644
--- a/iw/rootpartition_gui.py
+++ b/iw/rootpartition_gui.py
@@ -129,7 +129,11 @@ class LoopSizeWindow(InstallWindow):
def getScreen (self):
# XXX error check mount that this check tries
- avail = apply(isys.spaceAvailable, self.todo.fstab.getRootDevice())
+ if self.todo.setupFilesystems:
+ avail = apply(isys.spaceAvailable, self.todo.fstab.getRootDevice())
+ else:
+ # test mode
+ avail = 5000
(size, swapSize) = self.todo.fstab.getLoopbackSize()
if not size:
size = avail / 2
@@ -142,7 +146,7 @@ class LoopSizeWindow(InstallWindow):
"an already-existing DOS or Windows filesystem. How large, "
"in megabytes, should would you like the root filesystem "
"to be, and how much swap space would you like? They must "
- "total less then %d megabytes in size." % (avail, )))
+ "total less then %d megabytes in size.") % (avail, ))
label.set_usize (400, -1)
label.set_line_wrap (TRUE)
vbox.pack_start (label, FALSE, FALSE)