[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH][master] Select drives in partition dialog, preserving settings. (#529931)



ack.

On 10/30/2009 06:21 PM, David Lehman wrote:
---
  iw/partition_dialog_gui.py |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index bc40faa..c9781e0 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()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]