/***************************************************************************
-* Copyright (C) 2005-08 by the Quassel Project *
+* Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
}
void DesktopNotificationBackend::notify(const Notification &n) {
- if(_enabled) {
+ if(_enabled && (n.type == Highlight || n.type == PrivMsg)) {
QStringList actions;
QMap<QString, QVariant> hints;
void DesktopNotificationBackend::desktopNotificationInvoked(uint id, const QString & action) {
Q_UNUSED(id); Q_UNUSED(action);
+ emit activated();
}
SettingsPage *DesktopNotificationBackend::createConfigWidget() const {