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: use correct constants for tray icon messages #19549

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jul 31, 2019

Description of Change

We are using incorrect constants for tray icon messages. They happen to have the same values, but make the code confusing.

#define NIN_BALLOONSHOW (WM_USER + 2)
#define NIN_BALLOONTIMEOUT (WM_USER + 4)
#define NIN_BALLOONUSERCLICK (WM_USER + 5)

#define TB_CHECKBUTTON (WM_USER + 2)
#define TB_HIDEBUTTON (WM_USER + 4)
#define TB_INDETERMINATE (WM_USER + 5)

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines

Release Notes

Notes: no-notes

@miniak miniak self-assigned this Jul 31, 2019
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jul 31, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 1, 2019
@MarshallOfSound MarshallOfSound merged commit e8c4e6f into master Aug 1, 2019
@release-clerk
Copy link

release-clerk bot commented Aug 1, 2019

No Release Notes

@MarshallOfSound MarshallOfSound deleted the miniak/tray-fix-messages branch August 1, 2019 21:00
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.

None yet

4 participants