Model: Pull changelogs from the package infos

This commit is contained in:
Stephan Aßmus 2015-09-26 01:45:40 +02:00
parent 17dd011a5f
commit da16a92894

View File

@ -1189,6 +1189,13 @@ Model::_PopulatePackageInfo(const PackageInfoRef& package, const BMessage& data)
append_word_list(foundInfo, "prominence");
}
BString changelog;
if (data.FindString("pkgChangelogContent", &changelog) == B_OK) {
package->SetChangelog(changelog);
append_word_list(foundInfo, "changelog");
}
BMessage screenshots;
if (data.FindMessage("pkgScreenshots", &screenshots) == B_OK) {