mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
00c292733d
commit
d63013f075
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue