diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-06-25 19:45:45 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-06-25 19:45:45 +0000 |
commit | af553fc8e9979f361092b55db5029cf2d110d507 (patch) | |
tree | ad5ba8d52de0faab724be5e08b98bef57239fe09 /iw | |
parent | a8f387c1e852bfd228541833c5c09d007e3cacf7 (diff) | |
download | anaconda-af553fc8e9979f361092b55db5029cf2d110d507.tar.gz anaconda-af553fc8e9979f361092b55db5029cf2d110d507.tar.xz anaconda-af553fc8e9979f361092b55db5029cf2d110d507.zip |
format raid by default
Diffstat (limited to 'iw')
-rw-r--r-- | iw/partition_gui.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index b4419cafc..569b90a46 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1125,7 +1125,11 @@ class PartitionWindow(InstallWindow): # format or not? if raidrequest.fstype and raidrequest.fstype.isFormattable(): formatButton = GtkCheckButton (_("Format partition?")) - formatButton.set_active(0) + # XXX this probably needs more logic once we detect existing raid + if raidrequest.format != None and raidrequest.format != 0: + formatButton.set_active(1) + else: + formatButton.set_active(0) maintable.attach(formatButton, 0, 2, row, row + 1) row = row + 1 else: |