From 7e34fbaecf874be08fd02d00710ff3614d11d172 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Sun, 24 Jul 2011 12:28:44 +0200 Subject: [PATCH] extended gntp with app icon --- src/core/notification/icon.cpp | 2 -- src/core/snoreserver.cpp | 2 +- .../freedesktopnotificationfrontend.cpp | 2 +- src/plugins/growl/gntp.h | 8 ++++++-- src/plugins/growl/growl_backend.cpp | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/core/notification/icon.cpp b/src/core/notification/icon.cpp index 19745e2..ca2a537 100644 --- a/src/core/notification/icon.cpp +++ b/src/core/notification/icon.cpp @@ -40,11 +40,9 @@ public: SnoreIconData(const QString &url){ if(url.startsWith(":/")){ - qDebug()<name().toUtf8().constData()); + gntp *growl = new gntp(application->name().toUtf8().constData(),application->icon().localUrl().toUtf8().constData()); foreach(Alert *a,application->alerts()){ try{ growl->regist(a->name().toUtf8().constData());