summaryrefslogtreecommitdiffstats
path: root/iw/partition_gui.py
diff options
context:
space:
mode:
authorJoel Granados Moreno <jgranado@redhat.com>2009-08-21 16:12:09 +0200
committerJoel Granados Moreno <jgranado@redhat.com>2009-10-01 16:57:16 +0200
commit800a332d0c78f714c40e48f774ff483612557926 (patch)
tree50225c0e7cd083ad24507ae3d43b3248b4c8b9c3 /iw/partition_gui.py
parentda92e6e31eb047c40316c988bd7072a29001b5e2 (diff)
downloadanaconda-800a332d0c78f714c40e48f774ff483612557926.tar.gz
anaconda-800a332d0c78f714c40e48f774ff483612557926.tar.xz
anaconda-800a332d0c78f714c40e48f774ff483612557926.zip
Put the size after the device name in the storage tree.
* iw/partition_gui.py (DiskTreeModel): Modified the "titles" variable.
Diffstat (limited to 'iw/partition_gui.py')
-rw-r--r--iw/partition_gui.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 5a54cfb03..d08ae9881 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -360,13 +360,11 @@ class DiskTreeModel(gtk.TreeStore):
# format: column header, type, x alignment, hide?, visibleKey
titles = ((N_("Device"), gobject.TYPE_STRING, 0.0, 0, 0),
(N_("Label"), gobject.TYPE_STRING, 0.0, 1, 0),
+ (N_("Size (MB)"), gobject.TYPE_STRING, 1.0, 0, 0),
(N_("Mount Point"), gobject.TYPE_STRING, 0.0, 0, isLeaf),
(N_("Type"), gobject.TYPE_STRING, 0.0, 0, 0),
-# (N_("Format"), gobject.TYPE_BOOLEAN, 0.5, 0, isFormattable),
-# (N_("Size (MB)"), gobject.TYPE_STRING, 1.0, 0, isLeaf),
(N_("Format"), gobject.TYPE_OBJECT, 0.5, 0, isFormattable),
- (N_("Size (MB)"), gobject.TYPE_STRING, 1.0, 0, 0),
- ("", gobject.TYPE_STRING, 0.0, 0, 0),
+ ("", gobject.TYPE_STRING, 0.0, 0, 0),
# the following must be the last two
("IsLeaf", gobject.TYPE_BOOLEAN, 0.0, 1, 0),
("IsFormattable", gobject.TYPE_BOOLEAN, 0.0, 1, 0),