diff --git a/data/notificationcategories/x-nemo.transfer.error.conf b/data/notificationcategories/x-nemo.transfer.error.conf index 5a844f4..83024c0 100644 --- a/data/notificationcategories/x-nemo.transfer.error.conf +++ b/data/notificationcategories/x-nemo.transfer.error.conf @@ -1,2 +1,2 @@ -appIcon=icon-lock-transfer +appIcon=icon-lock-information urgency=2 diff --git a/src/transferengine.cpp b/src/transferengine.cpp index 6070288..03129d6 100644 --- a/src/transferengine.cpp +++ b/src/transferengine.cpp @@ -409,7 +409,8 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty m_settings.endGroup(); if (!service.isEmpty() && !path.isEmpty() && !iface.isEmpty() && !method.isEmpty()) { - notification.setRemoteAction(Notification::remoteAction("default", "", service, path, iface, method)); + notification.setRemoteActions(QVariantList() << Notification::remoteAction("default", "", service, path, iface, method) + << Notification::remoteAction("app", "", service, path, iface, method)); } } @@ -418,6 +419,10 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty // Update the notification existing->setCategory(category); + //% "Warnings" + existing->setAppName(category == TRANSFER_ERROR_EVENT_CATEGORY ? qtTrId("transferengine-notification_errors_group") + //% "Transfers" + : qtTrId("transferengine-notification_group")); existing->setSummary(summary); existing->setBody(body); existing->setPreviewSummary(previewSummary);