aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-24 15:59:55 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-24 17:08:10 +0200
commitc1e02896c1c5a08b155424c7a692097ec7cf2d14 (patch)
tree34edf25f46cc9be37e4496896097d9de879ec02d /ui/ui.go
parentRevert "ui: reduce icon overlay size" (diff)
downloadwireguard-windows-c1e02896c1c5a08b155424c7a692097ec7cf2d14.tar.xz
wireguard-windows-c1e02896c1c5a08b155424c7a692097ec7cf2d14.zip
ui: introduce system icon loading
This looks clearly worse in basically all ways and should be reverted. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/ui.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 58b52e46..9e0b01cc 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -36,6 +36,11 @@ func RunUI() {
}
defer icon.Dispose()
+ err = loadSystemIcons() //TODO: Load these the proper way and make dispose and be more like tunnelstatusimageprovider.
+ if err != nil {
+ panic(err)
+ }
+
mtw, err := NewManageTunnelsWindow(icon, logger)
if err != nil {
panic(err)