diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | iw/network_gui.py | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-03-31 Chris Lumens <clumens@redhat.com> + + * iw/network_gui.py (NetworkWindow.setHostOptionsSensitivity): Make + sure automatic hostname option isn't greyed out when using a static IP + for installation (#149116). + 2005-03-30 Jeremy Katz <katzj@redhat.com> * anaconda.spec: Bump version. diff --git a/iw/network_gui.py b/iw/network_gui.py index deaed0164..9a3ee4af6 100644 --- a/iw/network_gui.py +++ b/iw/network_gui.py @@ -142,12 +142,13 @@ class NetworkWindow(InstallWindow): def setHostOptionsSensitivity(self): # figure out if they have overridden using dhcp for hostname if self.anyUsingDHCP(): + self.hostnameUseDHCP.set_sensitive(1) + if self.hostname != "localhost.localdomain" and self.network.overrideDHCPhostname: self.hostnameManual.set_active(1) self.hostnameManual.set_sensitive(1) else: self.hostnameUseDHCP.set_active(1) - self.hostnameUseDHCP.set_sensitive(1) else: self.hostnameManual.set_active(1) self.hostnameUseDHCP.set_sensitive(0) |