MEGAsync
MEGAsync copied to clipboard
How are Panel Icons' Location Determined?
Hey; I'm trying to create a package of MEGAsync for Guix and, while I've managed to build MEGAsync and it runs alright, the panel icons just don't show up. They got installed in the right places so I'm guessing that MEGAsync is just looking in the wrong place.
Guix, like NixOS, uses non-standard paths so not being able to find the icons isn't entirely surprising; I thought it may be something hardcoded but the closest thing I could find is an icon for the app. itself, in src/MEGASync/platform/linux/LinuxPlatform.cpp
(there's a path hardcoded for /usr/share/icons/hicolor/256x256/apps/mega.png
).
In terms of the panel icons – specifically –, I couldn't find anything. I figured you all would know this code better than I do so I thought I'd save some time and just ask here how the app. knows where to look for megaalert.svg
, megalogging.svg
, megapaused.svg
, etc.