* iw/partition_gui.py (treeSelectCB): Display the bar view corresponding to the rows parent. --- iw/partition_gui.py | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index bf97667..43bd2d4 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1190,7 +1190,7 @@ class PartitionWindow(InstallWindow): # See if we need to change what is in the canvas. In all possibilities # we must make sure we have the correct StripeGraph class. if not device: - # This is free space. Only Disks have "Free" space. + # This is free space. parent = self.tree[iparent]["PyObject"] if isinstance(parent, storage.DiskDevice): if not isinstance(self.stripeGraph, DiskStripeGraph): @@ -1198,6 +1198,12 @@ class PartitionWindow(InstallWindow): self.stripeGraph = DiskStripeGraph(self.tree, self.editCB, self.storage, parent) self.stripeGraph.setDisplayed(parent) + elif isinstance(parent, storage.LVMVolumeGroupDevice): + if not isinstance(self.stripeGraph, LVMStripeGraph): + self.stripeGraph.shutDown() + self.stripeGraph = LVMStripeGraph(self.tree, self.editCB, self.storage, parent) + self.stripeGraph.setDisplayed(parent) + elif isinstance(device, storage.DiskDevice): if not isinstance(self.stripeGraph, DiskStripeGraph): self.stripeGraph.shutDown() -- 1.6.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list