summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-03-06 13:37:36 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-03-07 11:51:31 +0100
commitd241775255ab52ae0812c561fbcfcbe114889156 (patch)
treee2b1759e8c5ee96850807e83ef4d6512b9d4e218
parenta3315407f630c78d626f913df395ce7318b62a1b (diff)
downloadmullvadvpn-d241775255ab52ae0812c561fbcfcbe114889156.tar.xz
mullvadvpn-d241775255ab52ae0812c561fbcfcbe114889156.zip
Add tray tooltip
-rw-r--r--app/main.js3
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