Users have requested that the icon stop blinking after the first highlight has been
activated, even if there are more highlights pending.
If this change causes an uproar in the community, I think we'll make it an option...
void KNotificationBackend::close(uint notificationId) {
removeNotificationById(notificationId);
- if(!_notifications.count())
+ //if(!_notifications.count()) // FIXME make configurable
QtUi::mainWindow()->systemTray()->setAlert(false);
}
QtUi::mainWindow()->systemTray()->closeMessage(notificationId);
- if(!_notifications.count())
+ //if(!_notifications.count()) //FIXME make configurable
QtUi::mainWindow()->systemTray()->setAlert(false);
updateToolTip();
void SystrayNotificationBackend::notificationActivated(uint notificationId) {
if(!_blockActivation) {
- if(QtUi::mainWindow()->systemTray()->isAlerted()) {
+ if(_notifications.count()) {
_blockActivation = true; // prevent double activation because both tray icon and bubble might send a signal
if(!notificationId)
notificationId = _notifications.count()? _notifications.last().notificationId : 0;