diff options
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -132,10 +132,9 @@ func RunUI() { } }) - err := service.IPCClientRegisterAsNotificationThread() - if err != nil { - walk.MsgBox(mw, "Unable to register for notifications", err.Error(), walk.MsgBoxIconError) - os.Exit(1) - } + service.IPCClientRegisterTunnelChange(func(tunnel string) { + walk.MsgBox(mw, "Tunnel Changed", "The tunnel that changed is: "+tunnel, walk.MsgBoxIconInformation) + }) + mw.Run() } |