summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-29 20:02:48 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-29 20:11:07 +0100
commit0d4ef9c4cb4fd10734d87dd523b790b1fe4bb5c4 (patch)
tree38583447be32cefd86e3736e5484c2f8b26f2127 /pkg
parent3c57a988b0088e953a8b623941c2d3a91dbcca6a (diff)
[style] Rename the systray reconnection on fail-close
Diffstat (limited to 'pkg')
-rw-r--r--pkg/standalone/status.go1
-rw-r--r--pkg/systray/systray.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/standalone/status.go b/pkg/standalone/status.go
index 42c4687..96177e1 100644
--- a/pkg/standalone/status.go
+++ b/pkg/standalone/status.go
@@ -60,7 +60,6 @@ func (b *Bitmask) openvpnManagement() {
}
func (b *Bitmask) eventHandler(eventCh <-chan openvpn.Event) {
- // TODO: we are reporing only openvpn status, missing firewall status
for event := range eventCh {
log.Printf("Event: %v", event)
stateEvent, ok := event.(*openvpn.StateEvent)
diff --git a/pkg/systray/systray.go b/pkg/systray/systray.go
index d95d3dc..20cee44 100644
--- a/pkg/systray/systray.go
+++ b/pkg/systray/systray.go
@@ -236,7 +236,7 @@ func (bt *bmTray) changeStatus(status string) {
case "failed":
systray.SetIcon(icon.Blocked)
- bt.mTurnOn.SetTitle(printer.Sprintf("Retry"))
+ bt.mTurnOn.SetTitle(printer.Sprintf("Reconnect"))
bt.mTurnOff.SetTitle(printer.Sprintf("Turn off"))
statusStr = printer.Sprintf("%s blocking internet", config.ApplicationName)
bt.mTurnOn.Show()