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