FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-01-2012, 02:23 PM
David Lehman
 
Default Show lvm vg free space as a whole number in the partition gui.

Related: rhbz#734128
---
iw/partition_gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index f5c7178..1493895 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -998,7 +998,7 @@ class PartitionWindow(InstallWindow):
if vg.freeSpace > 0:
iter = self.tree.append(vgparent)
self.tree[iter]['Device'] = _("Free")
- self.tree[iter]['Size (MB)'] = vg.freeSpace
+ self.tree[iter]['Size (MB)'] = "%.0f" % vg.freeSpace
self.tree[iter]['PyObject'] = None
self.tree[iter]['Mount Point'] = ""
self.tree[iter]['IsLeaf'] = True
--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org