diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-10-12 19:30:43 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-10-12 19:30:43 +0000 |
commit | cf2ac58ff99e651296377bdf50b723897ca880d1 (patch) | |
tree | dee328e89e8ffdd448fbb5fe3b5d03ac5e3745db | |
parent | cb02ff310052eabe366f9d64eed2c6557d7a92b5 (diff) | |
download | anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.tar.gz anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.tar.xz anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.zip |
* 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | textw/network_text.py | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -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() |