summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-19 19:32:10 +0000
committerMike Fulbright <msf@redhat.com>2001-07-19 19:32:10 +0000
commit0e82660641f9f1e38c27fa102eae106804c90737 (patch)
tree3955a2bd291ecd59c049e513ea4150787561cd6f /iw
parent5575d7da7ea15683fd2183523d4756dddcc29325 (diff)
downloadanaconda-0e82660641f9f1e38c27fa102eae106804c90737.tar.gz
anaconda-0e82660641f9f1e38c27fa102eae106804c90737.tar.xz
anaconda-0e82660641f9f1e38c27fa102eae106804c90737.zip
report preexisting disk label for existing filesystems (which have one) so user knows how things were previously mounted
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 840530365..e0c85e713 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -733,15 +733,18 @@ class PartitionWindow(InstallWindow):
row = row + 1
# Partition Type
- maintable.attach(createAlignedLabel(_("Original Filesystem Type:")),
- 0, 1, row, row + 1)
-
if origrequest.type == REQUEST_NEW:
+ maintable.attach(createAlignedLabel(_("Filesystem Type:")),
+ 0, 1, row, row + 1)
+
(newfstype, newfstypeMenu) = createFSTypeMenu(origrequest.fstype,
fstypechangeCB,
mountCombo)
maintable.attach(newfstype, 1, 2, row, row + 1)
else:
+ maintable.attach(createAlignedLabel(_("Original Filesystem Type:")),
+ 0, 1, row, row + 1)
+
if origrequest.origfstype:
typestr = origrequest.origfstype.getName()
else:
@@ -772,6 +775,15 @@ class PartitionWindow(InstallWindow):
row = row + 1
+ # original fs label
+ if origrequest.type != REQUEST_NEW and origrequest.fslabel:
+ maintable.attach(createAlignedLabel(_("Original Filesystem Label:")),
+ 0, 1, row, row + 1)
+ fslabel = GtkLabel(origrequest.fslabel)
+ maintable.attach(fslabel, 1, 2, row, row + 1)
+
+ row = row + 1
+
# size
if origrequest.type == REQUEST_NEW:
if not newbycyl: