diff options
-rw-r--r-- | src/daemon/NotificationsService.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/NotificationsService.cpp b/src/daemon/NotificationsService.cpp index 7709965..1c70853 100644 --- a/src/daemon/NotificationsService.cpp +++ b/src/daemon/NotificationsService.cpp @@ -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); |