summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-10-30 12:16:03 -0500
committerDavid Lehman <dlehman@redhat.com>2009-11-02 11:45:13 -0600
commit5324c6b7876fd92b4c635f9d34df148bbcd1cff7 (patch)
tree3b005e12684855ea7c9ec17c4ce790b50d6df81e
parent4c681caff53bfce07c7fc645f3cb47923b6abb92 (diff)
downloadanaconda-5324c6b7876fd92b4c635f9d34df148bbcd1cff7.tar.gz
anaconda-5324c6b7876fd92b4c635f9d34df148bbcd1cff7.tar.xz
anaconda-5324c6b7876fd92b4c635f9d34df148bbcd1cff7.zip
Select drives in partition dialog, preserving settings. (#529931)
-rw-r--r--iw/partition_dialog_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index bc40faa8b..c9781e02b 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -402,9 +402,9 @@ class PartitionEditor:
lbl = createAlignedLabel(_("Allowable _Drives:"))
maintable.attach(lbl, 0, 1, row, row + 1)
+ req_disk_names = [d.name for d in self.origrequest.req_disks]
self.driveview = createAllowedDrivesList(self.storage.disks,
- self.origrequest.req_disks,
- selectDrives=False,
+ req_disk_names,
disallowDrives=[self.anaconda.updateSrc])
lbl.set_mnemonic_widget(self.driveview)
sw = gtk.ScrolledWindow()