summaryrefslogtreecommitdiffstats
path: root/iw/netconfig_dialog.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-24 16:57:22 +0000
committerBill Nottingham <notting@redhat.com>2006-10-24 16:57:22 +0000
commit3babd490e9df84ebb4a973bd82b8e8dd4ae53979 (patch)
tree4cfb5486c96405bcd61e2c7d4657fdea4263bd33 /iw/netconfig_dialog.py
parentc626e81ff87b4a0311e2d6543da616e19c3c8624 (diff)
downloadanaconda-3babd490e9df84ebb4a973bd82b8e8dd4ae53979.tar.gz
anaconda-3babd490e9df84ebb4a973bd82b8e8dd4ae53979.tar.xz
anaconda-3babd490e9df84ebb4a973bd82b8e8dd4ae53979.zip
* iw/netconfig_dialog.py: Use the same widget names as the glade
file.
Diffstat (limited to 'iw/netconfig_dialog.py')
-rw-r--r--iw/netconfig_dialog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py
index 5773923ae..053df1e47 100644
--- a/iw/netconfig_dialog.py
+++ b/iw/netconfig_dialog.py
@@ -66,8 +66,8 @@ class NetworkConfigurator:
self.xml.get_widget("dhcpCheckbutton").set_active(False)
# FIXME: need to set ipv6 here too once we have that
- if netdev.get("ipaddr"): self.xml.get_widget("ipv4AddressEntry").set_text(netdev.get("ipaddr"))
- if netdev.get("netmask"): self.xml.get_widget("ipv4NetmaskEntry").set_text(netdev.get("netmask"))
+ if netdev.get("ipaddr"): self.xml.get_widget("ipv4Address").set_text(netdev.get("ipaddr"))
+ if netdev.get("netmask"): self.xml.get_widget("ipv4Netmask").set_text(netdev.get("netmask"))
if self.network.gateway: self.xml.get_widget("gatewayEntry").set_text(self.network.gateway)
if self.network.primaryNS: self.xml.get_widget("nameserverEntry").set_text(self.network.primaryNS)
@@ -165,8 +165,8 @@ class NetworkConfigurator:
f.close()
isys.resetResolv()
else:
- ipv4addr = self.xml.get_widget("ipv4AddressEntry").get_text()
- ipv4nm = self.xml.get_widget("ipv4NetmaskEntry").get_text()
+ ipv4addr = self.xml.get_widget("ipv4Address").get_text()
+ ipv4nm = self.xml.get_widget("ipv4Netmask").get_text()
gateway = self.xml.get_widget("gatewayEntry").get_text()
ns = self.xml.get_widget("nameserverEntry").get_text()