diff --git a/src/apps/haiku-depot/MainWindow.cpp b/src/apps/haiku-depot/MainWindow.cpp index 8e1f4bf0ac..d791aa4740 100644 --- a/src/apps/haiku-depot/MainWindow.cpp +++ b/src/apps/haiku-depot/MainWindow.cpp @@ -405,10 +405,14 @@ MainWindow::_RefreshPackageList() BString publisherURL; if (repoPackageInfo.URLList().CountStrings() > 0) publisherURL = repoPackageInfo.URLList().StringAt(0); + const BStringList& rightsList = repoPackageInfo.CopyrightList(); + BString publisherName = repoPackageInfo.Vendor(); + if (rightsList.CountStrings() > 0) + publisherName = rightsList.StringAt(0); modelInfo.SetTo(new(std::nothrow) PackageInfo(NULL, repoPackageInfo.Name(), repoPackageInfo.Version().ToString(), - PublisherInfo(BitmapRef(), repoPackageInfo.Vendor(), + PublisherInfo(BitmapRef(), publisherName, "", publisherURL), repoPackageInfo.Summary(), repoPackageInfo.Description(), ""), true); diff --git a/src/apps/haiku-depot/PackageInfoView.cpp b/src/apps/haiku-depot/PackageInfoView.cpp index 11d24a8356..75c6a96b78 100644 --- a/src/apps/haiku-depot/PackageInfoView.cpp +++ b/src/apps/haiku-depot/PackageInfoView.cpp @@ -431,8 +431,7 @@ public: fTitleView->SetText(package.Title()); - BString publisher = B_TRANSLATE("by %Publisher%"); - publisher.ReplaceAll("%Publisher%", package.Publisher().Name()); + BString publisher = package.Publisher().Name(); fPublisherView->SetText(publisher); BString version = B_TRANSLATE("%Version%");