Commit 0ec40b6d authored by dmknght's avatar dmknght

Move to correct position

parent 73c1889d
......@@ -16,15 +16,3 @@ proc onClickBoot*(b: Button) =
b.label = "Disabling"
else:
discard
proc onClickRestart*(b: Button) =
#[
Run anonsurf restart
]#
# if spawnCommandLineAsync("gksudo /usr/bin/anonsurf restart"):
# let imgStatus = newImageFromIconName("system-restart-panel", 3)
# b.setImage(imgStatus)
# else:
# discard
discard spawnCommandLineAsync("gksudo /usr/bin/anonsurf restart")
......@@ -116,3 +116,15 @@ proc onClickTorStatus*(b: Button) =
statusArea.packStart(nyxTerm, false, true, 3)
statusDialog.showAll()
proc onClickRestart*(b: Button) =
#[
Run anonsurf restart
]#
# if spawnCommandLineAsync("gksudo /usr/bin/anonsurf restart"):
# let imgStatus = newImageFromIconName("system-restart-panel", 3)
# b.setImage(imgStatus)
# else:
# discard
discard spawnCommandLineAsync("gksudo /usr/sbin/service anonsurfd restart")
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