summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--textw/network_text.py7
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ba802bc8..261da8827 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-12 David Cantrell <dcantrell@redhat.com>
+
+ * textw/network_text.py (NetworkDeviceWindow): Set IPv6 entry box
+ sensitivity correctly. Fixes bizarre UI problems where unchecking
+ DHCP and IPv6 would leave all the input boxes active.
+
2006-10-12 Chris Lumens <clumens@redhat.com>
* iutil.py (swapSuggestion): Tweak min/max swap numbers for the low
diff --git a/textw/network_text.py b/textw/network_text.py
index ce15c359b..876bbc1a6 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -100,12 +100,13 @@ class NetworkDeviceWindow:
for widget in v4list:
widget.setFlags(FLAG_DISABLED, FLAGS_RESET)
+ if self.ipv6Cb.selected() != 0:
for widget in v6list:
widget.setFlags(FLAG_DISABLED, FLAGS_RESET)
- if ptplist:
- for widget in ptplist:
- widget.setFlags(FLAG_DISABLED, FLAGS_RESET)
+ if ptplist:
+ for widget in ptplist:
+ widget.setFlags(FLAG_DISABLED, FLAGS_RESET)
def IPV4toggled():
active = self.ipv4Cb.selected()