mirror of
https://github.com/gryf/wicd.git
synced 2025-12-22 05:48:03 +01:00
Fix a few typos in the option gateway code.
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user