summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2013-03-22 11:48:41 -0500
committerVratislav Podzimek <vpodzime@redhat.com>2013-03-28 09:43:14 +0100
commitda9d4e4ffb71a04953ed84ee90ad1a59ebffc51d (patch)
tree85c51df9ce7a96a5698ae3c55bd8382a0a42c095
parent7191e0d3fbba3ace43c985afd3646cf1ed5d81f5 (diff)
downloadanaconda-da9d4e4ffb71a04953ed84ee90ad1a59ebffc51d.tar.gz
anaconda-da9d4e4ffb71a04953ed84ee90ad1a59ebffc51d.tar.xz
anaconda-da9d4e4ffb71a04953ed84ee90ad1a59ebffc51d.zip
Don't allow setting a mountpoint for an fstype we cannot mount.
Related: rhbz#910506
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index a8fda8c0d..d4f60ff8e 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1421,7 +1421,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
nameEntry.set_text(device_name)
mountPointEntry.set_text(getattr(device.format, "mountpoint", "") or "")
- mountPointEntry.set_sensitive(hasattr(device.format, "mountpoint"))
+ mountPointEntry.set_sensitive(device.format.mountable)
labelEntry.set_text(getattr(device.format, "label", "") or "")
# We could label existing formats that have a labelFsProg if we added an