diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-09 16:26:03 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-09 16:26:03 +0000 |
commit | c7983460db54f7ee4da9f773e5108049adfcff36 (patch) | |
tree | 25940bba186861d58059337dce2a5222f33714e7 | |
parent | 02e5953eb87ac5aa244972bd93fe8cd1b07f1dad (diff) | |
download | anaconda-c7983460db54f7ee4da9f773e5108049adfcff36.tar.gz anaconda-c7983460db54f7ee4da9f773e5108049adfcff36.tar.xz anaconda-c7983460db54f7ee4da9f773e5108049adfcff36.zip |
oops dont show fsopts screen for new requests
-rw-r--r-- | textw/partition_text.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index ca974c48e..8b1c9f4f8 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -524,6 +524,7 @@ class PartitionWindow: poplevel.add(primary, 0, row, (0,1,0,0)) fsoptLbl = None + else: subgrid = Grid(2, 4) # filesystem type selection @@ -542,14 +543,18 @@ class PartitionWindow: poplevel.add(subgrid, 0, row, (0,1,0,0)) + # set some defaults format = origrequest.format migrate = origrequest.migrate newfstype = origrequest.fstype row = row + 1 - popbb = ButtonBar(self.screen, (TEXT_OK_BUTTON, - (_("Filesystem Options"), "fsopts"), - TEXT_CANCEL_BUTTON)) + if origrequest.type == REQUEST_NEW: + popbb = ButtonBar(self.screen, (TEXT_OK_BUTTON, TEXT_CANCEL_BUTTON)) + else: + popbb = ButtonBar(self.screen, (TEXT_OK_BUTTON, + (_("Filesystem Options"), "fsopts"), + TEXT_CANCEL_BUTTON)) poplevel.add(popbb, 0, row, (0,1,0,0), growx = 1) while 1: |