1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-30 02:12:29 +01:00

Experimental/Testing:

- Fix changes made to encryption settings not being reset if "cancel" is selected in the dialog box.

Experimental:
- Fix bug where Static DNS checkbox would be disabled no matter what if Static IP was disabled.
This commit is contained in:
imdano
2008-06-24 14:14:18 +00:00
parent a8007dc29b
commit 72a5567835

View File

@@ -185,7 +185,7 @@ class AdvancedSettingsDialog(gtk.Dialog):
self.chkbox_static_dns.set_sensitive(False)
else:
self.chkbox_static_dns.set_sensitive(True)
self.chkbox_static_dns.set_active(False)
#self.chkbox_static_dns.set_active(False)
self.txt_ip.set_sensitive(self.chkbox_static_ip.get_active())
self.txt_netmask.set_sensitive(self.chkbox_static_ip.get_active())
@@ -374,6 +374,7 @@ class WirelessSettingsDialog(AdvancedSettingsDialog):
self.chkbox_global_settings.set_active(True)
else:
self.chkbox_global_settings.set_active(False)
self.change_encrypt_method()
def format_entry(self, networkid, label):
""" Helper method for fetching/formatting wireless properties. """