Commit graph

6 commits

Author SHA1 Message Date
Ben Gotow
62b8dc2d3a fix(tray): Retina tray icon with template image for dark menu bar mode 2015-11-17 15:36:52 -08:00
Juan Tejada
319faf8b5c fix(lint): Remove lint errors 2015-11-13 19:41:53 -08:00
Ben Gotow
620f5c949d fix(tray): "Open Inbox" if main window is minimized / hidden 2015-11-13 18:11:44 -08:00
Juan Tejada
3a4c92a94b fix(system-tray): prevent duplicate menu item on darwin 2015-11-11 13:44:37 -08:00
Juan Tejada
29383e436c fix(system-tray): properly deactivates package 2015-11-06 13:52:08 -08:00
Juan Tejada
d838610290 feat(system-tray): add system-tray package
Summary:
- Updates support for ES6 code inside packages
- Displays system tray icon with unread count on darwin, or with bubble on other platforms
- Uses canvas api to dynamically generate icon image given unread count:
  - Adds CavasUtils.canvasFromImgAndText to do this
- Adds config option to display system tray icon on darwin

Test Plan: Need to write the tests for this.

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2231
2015-11-06 11:12:38 -08:00