diff options
author | Chris Lumens <clumens@redhat.com> | 2013-02-21 09:19:53 -0500 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2013-02-21 08:52:15 -0800 |
commit | b2f0dd4667488e349848d8ee9a63ce73446b3f1a (patch) | |
tree | 2b37694da59022cf3538524553bd456811d736b4 | |
parent | ad1425c2db3fda43c66dcd87199891c1a4410955 (diff) | |
download | anaconda-b2f0dd4667488e349848d8ee9a63ce73446b3f1a.tar.gz anaconda-b2f0dd4667488e349848d8ee9a63ce73446b3f1a.tar.xz anaconda-b2f0dd4667488e349848d8ee9a63ce73446b3f1a.zip |
Compare Sizes to Sizes in the reclaim dialog (#913484).
-rw-r--r-- | pyanaconda/ui/gui/spokes/lib/resize.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py index ff6e0141e..c44664e7b 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -371,7 +371,8 @@ class ResizeDialog(GUIObject): self._update_labels(selectedReclaimable=self._selectedReclaimableSpace+delta) # And then the reclaim button, in case they've made enough space. - self._update_reclaim_button(self._selectedReclaimableSpace+delta) + newTotal = self._selectedReclaimableSpace + delta + self._update_reclaim_button(Size(spec="%s MB" % newTotal)) def resize_slider_format(self, scale, value): # This makes the value displayed under the slider prettier than just a |