Model: Pull changelogs from the package infos
This commit is contained in:
parent
17dd011a5f
commit
da16a92894
@ -1189,6 +1189,13 @@ Model::_PopulatePackageInfo(const PackageInfoRef& package, const BMessage& data)
|
|||||||
|
|
||||||
append_word_list(foundInfo, "prominence");
|
append_word_list(foundInfo, "prominence");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BString changelog;
|
||||||
|
if (data.FindString("pkgChangelogContent", &changelog) == B_OK) {
|
||||||
|
package->SetChangelog(changelog);
|
||||||
|
|
||||||
|
append_word_list(foundInfo, "changelog");
|
||||||
|
}
|
||||||
|
|
||||||
BMessage screenshots;
|
BMessage screenshots;
|
||||||
if (data.FindMessage("pkgScreenshots", &screenshots) == B_OK) {
|
if (data.FindMessage("pkgScreenshots", &screenshots) == B_OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user