--- pyanaconda/ui/gui/spokes/lib/resize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py index dcc8527..b500c97 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -142,7 +142,8 @@ class ResizeDialog(GUIObject): # Devices that are not resizable are still deletable. if dev.resizable: freeSize = dev.size - dev.minSize - canShrinkSomething = True + if not dev.protected: + canShrinkSomething = True else: freeSize = dev.size
On Wed, Dec 05, 2012 at 01:30:05PM -0500, Chris Lumens wrote:
pyanaconda/ui/gui/spokes/lib/resize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py index dcc8527..b500c97 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -142,7 +142,8 @@ class ResizeDialog(GUIObject): # Devices that are not resizable are still deletable. if dev.resizable: freeSize = dev.size - dev.minSize
canShrinkSomething = True
if not dev.protected:canShrinkSomething = True else: freeSize = dev.size--
Looks good to me.
Samantha
anaconda-patches@lists.fedorahosted.org