diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-02-16 00:07:03 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-02-16 00:07:03 +0100 |
commit | b5aaa4e519e88f8cd029a0f144f86c1fc02ba231 (patch) | |
tree | 34458ac616f819707c6f1f3ec2e05af709dca1c7 /systray.go | |
parent | fd5b9b59804b51fb462b2678add95729bd78a812 (diff) |
[feat] add a command line flag to enable gateway selection
- Resolves: #12
Diffstat (limited to 'systray.go')
-rw-r--r-- | systray.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -65,6 +65,10 @@ func (bt *bmTray) onReady() { go bt.mCancel.Hide() systray.AddSeparator() + if bt.conf.SelectWateway { + bt.addGateways() + } + mHelp := systray.AddMenuItem("Help ...", "") bt.mDonate = systray.AddMenuItem("Donate ...", "") bt.mHaveDonated = systray.AddMenuItem("... I have donated", "") |