ysard / mintrayr

Mozilla extension: Minimize windows into the system tray (Firefox, Thunderbird, Seamonkey, Instantbird)
https://addons.thunderbird.net/en-US/thunderbird/addon/minimizetotray-reanimated/
Mozilla Public License 2.0
130 stars 14 forks source link

Use the icon that thunderbird uses #40

Open theultramage opened 4 years ago

theultramage commented 4 years ago

Thunderbird's executable contains an embedded icon, but it seems the one shown in the title bar and taskbar is loaded from chrome\icons\default\ (the main window in particular uses messengerWindow.ico). However, mintrayr seems to just use the embedded icon. This causes a visual mismatch if the icon on disk is customized.

I don't know if that's the cleanest way to do it. There are theming addons that supposedly allow customizing/rebranding the UI. Do you think there's an API to get the icon that's being used?