summaryrefslogtreecommitdiffstats
path: root/iw/lvm_dialog_gui.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-09 00:18:43 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-09 15:53:01 -0500
commit4efd040c457287f8d6a36fa32542a3c46b5f46d7 (patch)
tree68fda14f5c930c88ae31ba44bce89fd8a65eae04 /iw/lvm_dialog_gui.py
parent6cc86bb35089eae1daa73fd2f9ee0e3de4ae881b (diff)
downloadanaconda-4efd040c457287f8d6a36fa32542a3c46b5f46d7.tar.gz
anaconda-4efd040c457287f8d6a36fa32542a3c46b5f46d7.tar.xz
anaconda-4efd040c457287f8d6a36fa32542a3c46b5f46d7.zip
Fix display of format type for devices.anaconda-11.5.0.42-1
When re-editing a new device, the fstype combo was not getting set to the current format type because of confusion caused by the use of format name in some places and format type in others. The only thing we use the name attribute for is displaying in the fstype combo. For everything else we use the type attribute.
Diffstat (limited to 'iw/lvm_dialog_gui.py')
-rw-r--r--iw/lvm_dialog_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 8f14003d3..5c075e9a2 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -417,7 +417,7 @@ class VolumeGroupEditor:
newfstypeCombo = createFSTypeMenu(format,
fstypechangeCB,
mountCombo,
- ignorefs = ["software RAID", "physical volume (LVM)", "efi", "PPC PReP Boot", "Apple Bootstrap"])
+ ignorefs = ["mdmember", "lvmpv", "efi", "prepboot", "appleboot"])
lbl.set_mnemonic_widget(newfstypeCombo)
maintable.attach(newfstypeCombo, 1, 2, row, row + 1)
row += 1
@@ -488,7 +488,7 @@ class VolumeGroupEditor:
templuks = None
break
- (row, self.fsoptionsDict) = createPreExistFSOptionSection(reallv, maintable, row, mountCombo, self.storage, ignorefs = ["software RAID", "physical volume (LVM)", "vfat"], luksdev=templuks)
+ (row, self.fsoptionsDict) = createPreExistFSOptionSection(reallv, maintable, row, mountCombo, self.storage, ignorefs = ["mdmember", "lvmpv", "vfat"], luksdev=templuks)
# checkbutton for encryption using dm-crypt/LUKS
if not lv['exists']: