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
@ -409,7 +409,7 @@ export const Notification = GObject.registerClass({
|
||||
this.privacyScope = PrivacyScope.USER;
|
||||
this.forFeedback = false;
|
||||
this.body = null;
|
||||
this.bannerBodyMarkup = false;
|
||||
this.useBodyMarkup = false;
|
||||
this.sound = null;
|
||||
this._soundPlayed = false;
|
||||
this.actions = [];
|
||||
@ -442,7 +442,7 @@ export const Notification = GObject.registerClass({
|
||||
|
||||
this.title = title;
|
||||
this.body = banner;
|
||||
this.bannerBodyMarkup = params.bannerMarkup;
|
||||
this.useBodyMarkup = params.bannerMarkup;
|
||||
|
||||
if (params.datetime)
|
||||
this.datetime = params.datetime;
|
||||
|
Reference in New Issue
Block a user