added todo for idle notification and add a text to explain notification config

This commit is contained in:
Carmine D'Amico
2016-06-07 22:17:44 +02:00
parent 84d3c377b4
commit 73a11ea398
2 changed files with 13 additions and 12 deletions

View File

@@ -190,6 +190,7 @@ app.on('ready', function() {
content: arg.options.body
});
/* Todo: add idle here */
if (config.notifications.flashWindow == 2) {
mainWindow.flashFrame(true);
}
@@ -213,8 +214,8 @@ app.on('ready', function() {
}
else {
trayIcon.setImage(trayImages.normal);
mainWindow.flashFrame(false);
trayIcon.setToolTip(app.getName());
mainWindow.flashFrame(false);
}
});
}