update freedesktp frontend
This commit is contained in:
parent
40d1768d49
commit
6177e89670
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue