|
|
|
@ -117,6 +117,7 @@ void NotificationsService::NotifyAsync(
|
|
|
|
|
{
|
|
|
|
|
nId = ++mNotificationId;
|
|
|
|
|
notificationMap[nId] = new NotifyWidget(0, app_name.ascii(), this, nId);
|
|
|
|
|
notificationMap[nId]->setMinimumSize(200, 40);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!hints.empty())
|
|
|
|
@ -181,7 +182,7 @@ void NotificationsService::NotifyAsync(
|
|
|
|
|
|
|
|
|
|
if (icon.isEmpty() || ! notificationMap[nId]->setIcon(icon)) {
|
|
|
|
|
notificationMap[nId]->setTextFormat(TQt::RichText);
|
|
|
|
|
notificationMap[nId]->setText(app_name + ":\n" + summary + "\n" + body);
|
|
|
|
|
notificationMap[nId]->setText("<b>" + app_name + ": " + summary + "</b><p>" + body + "</p>");
|
|
|
|
|
}
|
|
|
|
|
notificationMap[nId]->setActions(actions);
|
|
|
|
|
notificationMap[nId]->setTimeout(timeout);
|
|
|
|
|