summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-11-03 22:42:20 +0000
committerJeremy Katz <katzj@redhat.com>2004-11-03 22:42:20 +0000
commit14c141be37c9dc2c69ca2107f49607cda98d908e (patch)
tree59a49a1f07a62c1bc6849e2678f72d222b6554a1
parent750b4b1a112613d2da899695c6fee1cc4563c9f2 (diff)
downloadanaconda-14c141be37c9dc2c69ca2107f49607cda98d908e.tar.gz
anaconda-14c141be37c9dc2c69ca2107f49607cda98d908e.tar.xz
anaconda-14c141be37c9dc2c69ca2107f49607cda98d908e.zip
2004-11-03 Jeremy Katz <katzj@redhat.com>
* iw/network_gui.py (NetworkWindow.setupDevices): * textw/network_text.py (NetworkDeviceWindow.runScreen): Sync behavior of onboot between gui/text (#138011)
-rw-r--r--iw/network_gui.py2
-rw-r--r--textw/network_text.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 8cf2aea37..a7f4aa59e 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -450,6 +450,8 @@ class NetworkWindow(InstallWindow):
# use this for now
self.ethdevices.append_row((device, ip), active)
+ num += 1
+
self.ethdevices.set_column_title(0, (_("Active on Boot")))
self.ethdevices.set_column_sizing (0, gtk.TREE_VIEW_COLUMN_GROW_ONLY)
self.ethdevices.set_column_title(1, (_("Device")))
diff --git a/textw/network_text.py b/textw/network_text.py
index 3b8a20f03..274a2f2e7 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -58,7 +58,7 @@ class NetworkDeviceWindow:
devnames = self.devices.keys()
devnames.sort()
- if devnames.index(dev.get("DEVICE")) == 0:
+ if devnames.index(dev.get("DEVICE")) == 0 and not onboot:
onbootIsOn = 1
else:
onbootIsOn = (onboot == "yes")