tray: drop dead iconMenuNetbird and openRoute after menu rework

The menu reorganisation removed the About brand-mark bitmap and rerouted
every openRoute caller to WindowManager auxiliary windows, leaving both
the iconMenuNetbird embed (all three platforms) and the openRoute helper
unreferenced. Remove them so the unused linter passes.
This commit is contained in:
Zoltan Papp
2026-05-26 23:25:45 +02:00
parent 61aa3a53ed
commit 2d3c8fc555
4 changed files with 5 additions and 42 deletions
-9
View File
@@ -454,15 +454,6 @@ func (t *Tray) buildMenu() *application.Menu {
return menu
}
func (t *Tray) openRoute(route string) {
if t.window == nil {
return
}
t.window.Show()
t.window.Focus()
t.window.SetURL("/#" + route)
}
func (t *Tray) handleConnect() {
// NeedsLogin/SessionExpired/LoginFailed mean the daemon won't honor a
// plain Up RPC ("up already in progress: current status NeedsLogin") —