summaryrefslogtreecommitdiff
path: root/systray.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-02-08 21:43:31 +0100
committerRuben Pollan <meskio@sindominio.net>2018-02-08 21:43:31 +0100
commit9e22b94dffe4670fd3e0738beff259d8391b270d (patch)
tree51ed2bfb5b30f55d2b386db896f7d2c96c21ed7a /systray.go
parenta846cb2a424fd17d43e3edf885cca7d79820fa9f (diff)
[style] remove unused code
Diffstat (limited to 'systray.go')
-rw-r--r--systray.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/systray.go b/systray.go
index 4344748..b160c03 100644
--- a/systray.go
+++ b/systray.go
@@ -145,15 +145,10 @@ func (bt *bmTray) addGateways() {
}
systray.AddSeparator()
-
- go bt.gatewaySelection()
-}
-
-func (bt *bmTray) gatewaySelection() {
-
}
func (bt *bmTray) changeStatus(status string) {
+ // TODO: ugly hacks with 'go' to hide/show
statusStr := status
bt.mTurnOn.SetTitle("Turn on")
if bt.waitCh != nil {