diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-21 18:51:56 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-21 18:51:56 +0000 |
commit | 62ad933663dc59fd48b4777a24ae2f7fa6bd85b3 (patch) | |
tree | 7c0cda70767570d1e1b5b5e9bb398506d151481f /iw/raid_dialog_gui.py | |
parent | 343b276af5449958b409ad6b4a16cb7bd77c164b (diff) | |
download | anaconda-62ad933663dc59fd48b4777a24ae2f7fa6bd85b3.tar.gz anaconda-62ad933663dc59fd48b4777a24ae2f7fa6bd85b3.tar.xz anaconda-62ad933663dc59fd48b4777a24ae2f7fa6bd85b3.zip |
Show preexisting label if any exists to the UI and the mount point combo
(#149375)
Diffstat (limited to 'iw/raid_dialog_gui.py')
-rw-r--r-- | iw/raid_dialog_gui.py | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index 0ded97900..84311a319 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -289,23 +289,37 @@ class RaidEditor: row = row + 1 # Filesystem Type - lbl = createAlignedLabel(_("File System _Type:")) - maintable.attach(lbl, 0, 1, row, row + 1) - if not origrequest.getPreExisting(): + lbl = createAlignedLabel(_("_File System Type:")) + maintable.attach(lbl, 0, 1, row, row + 1) self.fstypeCombo = createFSTypeMenu(origrequest.fstype, fstypechangeCB, self.mountCombo, ignorefs = ["software RAID", "PPC PReP Boot", "Apple Bootstrap"]) lbl.set_mnemonic_widget(self.fstypeCombo) + maintable.attach(self.fstypeCombo, 1, 2, row, row + 1) + row += 1 else: + maintable.attach(createAlignedLabel(_("Original File System Type:")), + 0, 1, row, row + 1) if origrequest.fstype.getName(): self.fstypeCombo = gtk.Label(origrequest.fstype.getName()) else: self.fstypeCombo = gtk.Label(_("Unknown")) - - maintable.attach(self.fstypeCombo, 1, 2, row, row + 1) - row = row + 1 + + import pdb + pdb.set_trace() + + maintable.attach(self.fstypeCombo, 1, 2, row, row + 1) + row += 1 + + if origrequest.fslabel: + maintable.attach(createAlignedLabel(_("Original File System " + "Label:")), + 0, 1, row, row + 1) + maintable.attach(gtk.Label(origrequest.fslabel), 1, 2, row, + row + 1) + row += 1 # raid minors lbl = createAlignedLabel(_("RAID _Device:")) |