summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-23 17:31:45 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-09-24 16:09:22 -1000
commit92d658eaebb801c7467716f183d32b0dae6c9499 (patch)
tree558af7d4e43d08ee1e7ed923b4cb5af724da7b6d /iw
parentaf8c639754dcc81f34652b29bcf5e3a90b1d6863 (diff)
downloadanaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.gz
anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.xz
anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.zip
Get rid of firstnetdevice in Network
At least for now, I see no need for firstnetdevice in the same way before we started using NetworkManager. Might have to come back for specific cases, but I don't think it's necessary.
Diffstat (limited to 'iw')
-rw-r--r--iw/netconfig_dialog.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py
index 3cacd1d18..ca3dee7b0 100644
--- a/iw/netconfig_dialog.py
+++ b/iw/netconfig_dialog.py
@@ -127,8 +127,7 @@ class NetworkConfigurator:
else:
desc = "%s" %(dev,)
store[i] = (desc, dev)
- if dev == self.network.firstnetdevice:
- combo.set_active_iter(i)
+ combo.set_active_iter(0)
def run(self):
gui.addFrame(self.window)