aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/tray.go
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-04-10 16:37:14 +0200
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 11:04:59 +0200
commit75e89104ffeec4d6c91879791e7e1e0d170580a3 (patch)
tree47c22f864d3ffffdda2b2da7e12acc65305b77e5 /ui/tray.go
parentui: use Synchronize method for cross-goroutine calls to walk (diff)
downloadwireguard-windows-75e89104ffeec4d6c91879791e7e1e0d170580a3.tar.xz
wireguard-windows-75e89104ffeec4d6c91879791e7e1e0d170580a3.zip
ui: implement about dialog, version info still TODO
requires https://github.com/lxn/walk/commit/4e27c2831aefc0a8aece021877aa6c8c6e95e290 Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
Diffstat (limited to 'ui/tray.go')
-rw-r--r--ui/tray.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tray.go b/ui/tray.go
index e5260ae1..c9091211 100644
--- a/ui/tray.go
+++ b/ui/tray.go
@@ -70,7 +70,7 @@ func (tray *Tray) setup() error {
{label: "&Manage tunnels...", handler: tray.mtw.Show, enabled: true},
{label: "&Import tunnel(s) from file...", handler: tray.mtw.onImport, enabled: true},
{separator: true},
- {label: "&About WireGuard", handler: onAbout, enabled: true},
+ {label: "&About WireGuard", handler: func() { onAbout(tray.mtw) }, enabled: true},
{label: "&Quit", handler: onQuit, enabled: true},
} {
var action *walk.Action