diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-03-06 13:37:36 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-03-07 11:51:31 +0100 |
| commit | d241775255ab52ae0812c561fbcfcbe114889156 (patch) | |
| tree | e2b1759e8c5ee96850807e83ef4d6512b9d4e218 | |
| parent | a3315407f630c78d626f913df395ce7318b62a1b (diff) | |
| download | mullvadvpn-d241775255ab52ae0812c561fbcfcbe114889156.tar.xz mullvadvpn-d241775255ab52ae0812c561fbcfcbe114889156.zip | |
Add tray tooltip
| -rw-r--r-- | app/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/main.js b/app/main.js index e8d4dbdc46..4a25a4d8fc 100644 --- a/app/main.js +++ b/app/main.js @@ -480,6 +480,9 @@ const appDelegate = { _createTray: (window: BrowserWindow): Tray => { const tray = new Tray(nativeImage.createEmpty()); + + // configure tray icon + tray.setToolTip('Mullvad VPN'); tray.on('click', () => appDelegate._toggleWindow(window, tray)); // add IPC handler to change tray icon from renderer |
