messageTray: Rename bannerBodyMarkup to useBodyMarkup in Notification object

I think the new name better reflects the effect of the property.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173>
This commit is contained in:
Julian Sparber
2024-02-13 19:41:08 +01:00
committed by Florian Müllner
parent 00c292733d
commit d63013f075
3 changed files with 5 additions and 5 deletions

View File

@ -142,7 +142,7 @@ const NotificationsBox = GObject.registerClass({
let body = '';
if (n.body) {
const bodyText = n.body.replace(/\n/g, ' ');
body = n.bannerBodyMarkup
body = n.useBodyMarkup
? bodyText
: GLib.markup_escape_text(bodyText, -1);
}