From a8821379260242f6960729584f70c057b58b992a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 19 Dec 2014 09:57:25 +0100 Subject: [PATCH] Web+: set a group name for download notifications It is not clear that these come from Web+ otherwise (since they use the downloaded file icon rather than the app one). --- src/apps/webpositive/DownloadProgressView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/webpositive/DownloadProgressView.cpp b/src/apps/webpositive/DownloadProgressView.cpp index eafb6170ee..f7865dcdcd 100644 --- a/src/apps/webpositive/DownloadProgressView.cpp +++ b/src/apps/webpositive/DownloadProgressView.cpp @@ -626,6 +626,7 @@ DownloadProgressView::DownloadFinished() fStatusBar->SetBarColor(ui_color(B_SUCCESS_COLOR)); BNotification success(B_INFORMATION_NOTIFICATION); + success.SetGroup(B_TRANSLATE("WebPositive")); success.SetTitle(B_TRANSLATE("Download finished")); success.SetContent(fPath.Leaf()); BEntry entry(fPath.Path()); @@ -648,6 +649,7 @@ DownloadProgressView::CancelDownload() // Also cancel the download fDownload->Cancel(); BNotification success(B_ERROR_NOTIFICATION); + success.SetGroup(B_TRANSLATE("WebPositive")); success.SetTitle(B_TRANSLATE("Download aborted")); success.SetContent(fPath.Leaf()); // Don't make a click on the notification open the file: it is not