1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 14:07:59 +01:00

Fix a few typos in the option gateway code.

This commit is contained in:
Dan O'Reilly
2009-01-19 23:45:05 -05:00
parent 87539f75e7
commit 1269bcd048

View File

@@ -561,11 +561,12 @@ class appGui(object):
def save_settings(self, nettype, networkid, networkentry): def save_settings(self, nettype, networkid, networkentry):
""" Verifies and saves the settings for the network entry. """ """ Verifies and saves the settings for the network entry. """
entry = networkentry.advanced_dialog entry = networkentry.advanced_dialog
entlist = [] opt_entlist = []
req_entlist = []
# First make sure all the Addresses entered are valid. # First make sure all the Addresses entered are valid.
if entry.chkbox_static_ip.get_active(): if entry.chkbox_static_ip.get_active():
req_entlist = [entry.txt_ip, enty.txt_netmask] req_entlist = [entry.txt_ip, entry.txt_netmask]
opt_entlist = [entry.txt_gateway] opt_entlist = [entry.txt_gateway]
if entry.chkbox_static_dns.get_active() and \ if entry.chkbox_static_dns.get_active() and \