diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 709d1c273..08697b39a 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -111,10 +111,10 @@ var NetworkSecretDialog = class extends ModalDialog.ModalDialog { descriptionLabel.clutter_text.line_wrap = true; descriptionLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; - messageBox.add(descriptionLabel, - { y_fill: true, - y_align: St.Align.START, - expand: true }); + contentBox.messageBox.add(descriptionLabel, + { y_fill: true, + y_align: St.Align.START, + expand: true }); } this._okButton = { label: _("Connect"),