Commit fa3bef00 authored by dmknght's avatar dmknght

Hot fix vte problem

parent 8bebcb4e
Pipeline #1265 failed with stages
......@@ -117,6 +117,13 @@ proc onClickChangeID*(b: Button) =
sendNotify("Identity Change Error", "File not found", "error")
proc upgradeCallback(terminal: ptr Terminal00; pid: int32; error: ptr glib.Error; userData: pointer) {.cdecl.} =
#[
Dummy callback proc to fix problem of VTE
]#
discard
proc onClickTorStatus*(b: Button) =
#[
Spawn a native GTK terminal and run nyx with it to show current tor status
......@@ -139,7 +146,7 @@ proc onClickTorStatus*(b: Button) =
nil, # chlid setup data destroy
-1, # timeout
nil, # cancellabel
nil, # callback
upgradeCallback, # callback
nil, # pointer
)
......
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