diff options
author | Matt Wilson <msw@redhat.com> | 2001-04-03 23:18:08 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-04-03 23:18:08 +0000 |
commit | 0fbfbe61c7e9e258eb4c130e8dfeb14f4c25325d (patch) | |
tree | 35c8a656b6bacac650c1afb0964020262d794b9f /iw | |
parent | c3e882780dc4e01b4ed780dd6f3d012a183da3dc (diff) | |
download | anaconda-0fbfbe61c7e9e258eb4c130e8dfeb14f4c25325d.tar.gz anaconda-0fbfbe61c7e9e258eb4c130e8dfeb14f4c25325d.tar.xz anaconda-0fbfbe61c7e9e258eb4c130e8dfeb14f4c25325d.zip |
revert the default to be static if not otherwise set in /tmp/netinfo (#31876)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/network_gui.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py index ad95da35d..7430553ba 100644 --- a/iw/network_gui.py +++ b/iw/network_gui.py @@ -198,14 +198,7 @@ class NetworkWindow (InstallWindow): self.ipTable = GtkTable (len (options), 2) # this is the iptable used for DNS, et. al DHCPcb.connect ("toggled", self.DHCPtoggled, (devs[i], ipTable)) - -# DHCPcb.set_active (devs[i].get ("bootproto") == "dhcp") -# DHCPcb.set_active (TRUE) - - if devs[i].get ("bootproto") == "static": - DHCPcb.set_active (FALSE) - else: - DHCPcb.set_active (TRUE) + DHCPcb.set_active (devs[i].get ("bootproto") == "dhcp") forward = lambda widget, box=box: box.focus (DIR_TAB_FORWARD) |