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.