diff --git a/src/browser/settings.jsx b/src/browser/settings.jsx index a5efcd97..1b7cddd3 100644 --- a/src/browser/settings.jsx +++ b/src/browser/settings.jsx @@ -151,10 +151,11 @@ var SettingsPage = React.createClass({ label: 'Never', state: 0 }, + /* ToDo: Idle isn't implemented yet { label: 'Only when idle (after 10 seconds)', state: 1 - }, + },*/ { label: 'Always', state: 2 @@ -165,19 +166,18 @@ var SettingsPage = React.createClass({ var notificationElements = notificationSettings.map(function(item) { var boundClick = that.handleFlashWindowSetting.bind(that, item); return ( - - ); + + ); }); var notifications = ( - - -

Notifications

- { notificationElements } - -
+ + +

Notifications

Configure, that the taskicon in the taskbar blinks when you were mentioned. + { notificationElements } + +
) return ( diff --git a/src/main.js b/src/main.js index ef3a7792..703a746a 100644 --- a/src/main.js +++ b/src/main.js @@ -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); } }); }