diff options
author | Chris Lumens <clumens@redhat.com> | 2005-03-31 17:55:17 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-03-31 17:55:17 +0000 |
commit | 72bdfda3ba27671ee08623ec1f8ce852403db08e (patch) | |
tree | dc6b8c17883ccba1297a0c9ba7d48c9c1940737d | |
parent | c5ae2e70050e72829f411a45f773bd6ccf0860d9 (diff) | |
download | anaconda-72bdfda3ba27671ee08623ec1f8ce852403db08e.tar.gz anaconda-72bdfda3ba27671ee08623ec1f8ce852403db08e.tar.xz anaconda-72bdfda3ba27671ee08623ec1f8ce852403db08e.zip |
Make sure automatic hostname option isn't greyed out when using a
static IP for installation (#149116).
-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) |