The setup method was actually triggering a signal handler for a changed value, which caused trouble since the device was not resizable. --- 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 aaf987c..f4b8e84 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -265,7 +265,8 @@ class ResizeDialog(GUIObject): # button insensitive. self._shrinkButton.set_sensitive(device.resizable)
- self._setup_slider(device, obj.target) + if device.resizable: + self._setup_slider(device, obj.target)
# Then, disable the button for whatever action is currently selected. # It doesn't make a lot of sense to allow clicking that.
On Wed, Sep 11, 2013 at 06:05:25PM -0500, David Lehman wrote:
The setup method was actually triggering a signal handler for a changed value, which caused trouble since the device was not resizable.
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 aaf987c..f4b8e84 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -265,7 +265,8 @@ class ResizeDialog(GUIObject): # button insensitive. self._shrinkButton.set_sensitive(device.resizable)
self._setup_slider(device, obj.target)
if device.resizable:self._setup_slider(device, obj.target) # Then, disable the button for whatever action is currently selected. # It doesn't make a lot of sense to allow clicking that.-- 1.8.1.4
Ack
Note, I git am'd this for a build this evening.
anaconda-patches@lists.fedorahosted.org