1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-10 19:45:50 +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) self.chkbox_static_dns.set_sensitive(False)
else: else:
self.chkbox_static_dns.set_sensitive(True) 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_ip.set_sensitive(self.chkbox_static_ip.get_active())
self.txt_netmask.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) self.chkbox_global_settings.set_active(True)
else: else:
self.chkbox_global_settings.set_active(False) self.chkbox_global_settings.set_active(False)
self.change_encrypt_method()
def format_entry(self, networkid, label): def format_entry(self, networkid, label):
""" Helper method for fetching/formatting wireless properties. """ """ Helper method for fetching/formatting wireless properties. """