summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ratzenhofer <christian.ratzenhofer@cdnm.at>2017-05-10 10:25:41 +0200
committerJavier <dev.git@javispedro.com>2017-05-15 20:51:45 +0200
commite0752dbbf32b5260ed7afc340eee8ac1049853fc (patch)
tree03ce23ef99c97bed55c633a32fae8c45f02aba53
parenta6dae4aa21d8e7c00c3c0f62b3cdba8fb44d6edc (diff)
downloadlibwatchfish-master.tar.gz
libwatchfish-master.zip
set transient status of notificationsHEADmaster
-rw-r--r--notificationmonitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/notificationmonitor.cpp b/notificationmonitor.cpp
index 85acc2d..4b095b9 100644
--- a/notificationmonitor.cpp
+++ b/notificationmonitor.cpp
@@ -106,6 +106,7 @@ void NotificationMonitorPrivate::processIncomingNotification(quint32 id, const P
n->setSummary(proto.summary);
n->setBody(proto.body);
n->setIcon(proto.appIcon);
+ n->setTransient(proto.hints.value("transient", "false") == "true");
// Handle nemo specific stuff
QDateTime timestamp = QDateTime::fromString(proto.hints["x-nemo-timestamp"], Qt::ISODate);