[PATCH rhel7-branch master] Default the OK button on the iscsi dialog to insensitive.

David Shea dshea at redhat.com
Tue Aug 12 18:44:15 UTC 2014


On 08/12/2014 01:50 PM, Chris Lumens wrote:
> The idea here is that the button is insensitive until after the user has
> logged in, to prevent them from hitting OK without ever having added any
> iscsi targets to the installation.
>
> Resolves: rhbz#975823
> ---
>   pyanaconda/ui/gui/spokes/advstorage/iscsi.py | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
> index 987b0eb..90a1444 100644
> --- a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
> +++ b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
> @@ -234,7 +234,6 @@ class ISCSIDialog(GUIObject):
>               # that subscreen.
>               self._add_nodes(self._discoveredNodes)
>               self._iscsiNotebook.set_current_page(1)
> -            self._okButton.set_sensitive(True)
>   
>               # If some form of login credentials were used for discovery,
>               # default to using the same for login.

Looks good.


More information about the anaconda-patches mailing list