messageList: Fix TypeError
in Message.useBodyMarkup
setter
Setting `useBodyMarkup` to `true` fails with: JS ERROR: TypeError: this.setBody is not a function set useBodyMarkup@resource:///org/gnome/shell/ui/messageList.js:585:14 Fixes: f0e863f529 "messageList: Use GObject properties for Message" Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3232>
This commit is contained in:
parent
77af504930
commit
e1db7e368f
@ -582,7 +582,7 @@ export const Message = GObject.registerClass({
|
||||
if (this._useBodyMarkup === enable)
|
||||
return;
|
||||
this._useBodyMarkup = enable;
|
||||
this.setBody(this._bodyText);
|
||||
this.body = this._bodyText;
|
||||
this.notify('use-body-markup');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user