From 6177e89670f68b104a13eb3fdfde5d16f5698f63 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Fri, 26 Jun 2015 16:28:15 +0200 Subject: [PATCH] update freedesktp frontend --- .../freedesktop/freedesktopnotificationfrontend.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp b/src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp index 263adba..4f997a3 100644 --- a/src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp +++ b/src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp @@ -101,8 +101,9 @@ uint FreedesktopFrontend::Notify(const QString &app_name, uint replaces_id, } } Icon appIcon(qicon.pixmap(max).toImage()); - Alert alert("DBus Alert", appIcon); + Alert alert(tr("DBus Alert"), appIcon); app = Application(app_name, appIcon); + app.hints().setValue("use-markup", QVariant::fromValue(true)); app.addAlert(alert); SnoreCore::instance().registerApplication(app); } else { @@ -142,7 +143,7 @@ QStringList FreedesktopFrontend::GetCapabilities() return QStringList() << "body" << "urgency" - // << "body-hyperlinks" + << "body-hyperlinks" << "body-markup" << "icon-static" << "actions";