From c1e02896c1c5a08b155424c7a692097ec7cf2d14 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 24 Apr 2019 15:59:55 +0200 Subject: ui: introduce system icon loading This looks clearly worse in basically all ways and should be reverted. Signed-off-by: Jason A. Donenfeld --- ui/ui.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui/ui.go') 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) -- cgit v1.2.3-59-g8ed1b