Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tray icon for electron apps that change the IconThemePath #362

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

pol-rivero
Copy link
Contributor

Electron apps use /tmp/.org.chromium.Chromium.XXXX as the theme path and the last part can change dynamically. This commit adds IconThemePath as a property to update when handling NewIcon.

You can test this with teams-for-linux. Without this fix, tray module cannot find the icon and displays icon-missing instead of the correct tray icon.

Electron apps use /tmp/.org.chromium.Chromium.XXXX as the theme path and the last part can change dynamically.
This commit adds IconThemePath as a property to update when handling NewIcon.
@nwg-piotr nwg-piotr merged commit 33750f3 into nwg-piotr:master Dec 15, 2024
@pol-rivero pol-rivero deleted the update-tray-icon branch December 23, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants