[PATCH rhel7-branch] network gui: make Configure button insensitive when no ap is selected (#1015212)

Chris Lumens clumens at redhat.com
Mon Oct 21 14:18:07 UTC 2013


> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 9887130..dc4499c 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -873,6 +873,7 @@ class NetworkControlBox(object):
>              self.builder.get_object("label_wired_parent").hide()
>          elif dev_type == NetworkManager.DeviceType.WIFI:
>              notebook.set_current_page(1)
> +            self.builder.get_object("button_wireless_options").set_sensitive(self.selected_ssid is not None)
>  
>      def _refresh_carrier_info(self):
>          for i in self.builder.get_object("liststore_devices"):

Looks fine.

- Chris


More information about the anaconda-patches mailing list