Commit 4c1e2149 authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

code clean

parent f756fff7
......@@ -40,17 +40,13 @@ proc ansurf_gtk_do_start_stop*(b: Button, cb_send_msg: proc) =
proc ansurf_gtk_do_restart*(b: Button, cb_send_msg: proc) =
createThread(ansurf_workers_common, do_anonsurf_restart, cb_send_msg)
# ansurf_workers_common.joinThread()
# createThread(ansurf_workers_common_sudo, ansurf_acts_handle_restart, ("gksudo", cb_send_msg))
# ansurf_acts_handle_restart("gksudo", cb_send_msg)
proc ansurf_gtk_do_myip*(b: Button, cb_send_msg: proc) =
# ansurf_acts_handle_checkIP(cb_send_msg)
createThread(ansurf_workers_myip, do_anonsurf_checkip, (cb_send_msg))
proc ansurf_gtk_do_changeid*(b: Button, cb_send_msg: proc) =
# ansurf_acts_handle_changeID(cb_send_msg)
createThread(ansurf_workers_common, do_anonsurf_changeid, (cb_send_msg))
ansurf_workers_common.joinThread()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment