* iw/partition_gui.py (populate): Use vg.freeSpace property to add the LVM free space row. --- iw/partition_gui.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 9448884..bf97667 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -926,6 +926,16 @@ class PartitionWindow(InstallWindow): self.tree[iter]['IsLeaf'] = True self.tree[iter]['Type'] = format.name + # We add a row for the VG free space. + if vg.freeSpace > 0: + iter = self.tree.append(vgparent) + self.tree[iter]['Device'] = _("Free") + self.tree[iter]['Size (MB)'] = vg.freeSpace + self.tree[iter]['PyObject'] = None + self.tree[iter]['Mount Point'] = "" + self.tree[iter]['IsLeaf'] = True + + # handle RAID next mdarrays = self.storage.mdarrays if mdarrays: -- 1.6.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list