mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-31 13:09:55 +00:00
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.
32 lines
981 B
Go
32 lines
981 B
Go
//go:build linux
|
||
|
||
package main
|
||
|
||
import _ "embed"
|
||
|
||
// 24x24 menu-row icons used on Linux. GTK4 menu rows accept icons in the
|
||
// 22–48 px range with no automatic downscaling at this size; 24 reads
|
||
// cleanly next to the row text across the GNOME / KDE / minimal-WM
|
||
// flavours we ship to. Windows ships a 16x16 variant (Win32
|
||
// SM_CXMENUCHECK slot) and macOS a 22x22 variant — see the sibling
|
||
// icons_menu_*.go files. Status dots are the canonical 24x24 originals
|
||
// used everywhere else in the legacy Fyne tray.
|
||
|
||
//go:embed assets/netbird-menu-dot-connected.png
|
||
var iconMenuDotConnected []byte
|
||
|
||
//go:embed assets/netbird-menu-dot-connecting.png
|
||
var iconMenuDotConnecting []byte
|
||
|
||
//go:embed assets/netbird-menu-dot-login.png
|
||
var iconMenuDotLogin []byte
|
||
|
||
//go:embed assets/netbird-menu-dot-error.png
|
||
var iconMenuDotError []byte
|
||
|
||
//go:embed assets/netbird-menu-dot-idle.png
|
||
var iconMenuDotIdle []byte
|
||
|
||
//go:embed assets/netbird-menu-dot-offline.png
|
||
var iconMenuDotOffline []byte
|