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:

committed by
Florian Müllner

parent
00c292733d
commit
d63013f075
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user