/***************************************************************************
- * Copyright (C) 2005-2010 by the Quassel Project *
+ * Copyright (C) 2005-2012 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
void KNotificationBackend::close(uint notificationId) {
removeNotificationById(notificationId);
- if(!_notifications.count())
+ //if(!_notifications.count()) // FIXME make configurable
QtUi::mainWindow()->systemTray()->setAlert(false);
}
void KNotificationBackend::updateToolTip() {
QtUi::mainWindow()->systemTray()->setToolTip("Quassel IRC",
- _notifications.count()? tr("%n pending highlights", "", _notifications.count()) : QString());
+ _notifications.count()? tr("%n pending highlight(s)", "", _notifications.count()) : QString());
}
SettingsPage *KNotificationBackend::createConfigWidget() const {