diff --git a/js/ui/dialog.js b/js/ui/dialog.js index 41a076353..553b81c78 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -177,8 +177,8 @@ var MessageDialogContent = GObject.registerClass({ let textProps = { ellipsize: Pango.EllipsizeMode.NONE, line_wrap: true }; - Object.assign(this._subtitle.clutter_text, textProps); - Object.assign(this._body.clutter_text, textProps); + this._subtitle.clutter_text.set(textProps); + this._body.clutter_text.set(textProps); if (!params.hasOwnProperty('style_class')) params.style_class = 'message-dialog-main-layout';