mirror of
https://github.com/netbirdio/netbird.git
synced 2025-05-31 07:07:42 +02:00
Rename systray menu items and add new logo
This commit is contained in:
parent
2aaeeac7f6
commit
a0d5a8fb9c
@ -157,20 +157,20 @@ func (s *serviceClient) onTrayReady() {
|
|||||||
|
|
||||||
systray.AddSeparator()
|
systray.AddSeparator()
|
||||||
|
|
||||||
s.mUp = systray.AddMenuItem("Up", "Up")
|
s.mUp = systray.AddMenuItem("Connect", "Connect")
|
||||||
|
|
||||||
s.mDown = systray.AddMenuItem("Down", "Down")
|
s.mDown = systray.AddMenuItem("Disconnect", "Disconnect")
|
||||||
s.mDown.Disable()
|
s.mDown.Disable()
|
||||||
|
|
||||||
mURL := systray.AddMenuItem("Open UI", "wiretrustee website")
|
mURL := systray.AddMenuItem("Admin Panel", "Wiretrustee Admin Panel")
|
||||||
|
|
||||||
systray.AddSeparator()
|
systray.AddSeparator()
|
||||||
|
|
||||||
mQuit := systray.AddMenuItem("Quit", "Quit the whole app")
|
mQuit := systray.AddMenuItem("Quit", "Quit the client app")
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
for {
|
for {
|
||||||
s.updateStatus()
|
s.updateStatus()
|
||||||
time.Sleep(time.Second * 3)
|
time.Sleep(time.Second * 3)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 107 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 104 KiB |
Loading…
x
Reference in New Issue
Block a user