From dc4ff941bd24b60e1f6d5ea343ffd910b9966cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 29 Jan 2019 22:48:06 +0100 Subject: [PATCH] networkAgent: Fix showing the WPS message The message was introduced in commit dfa0750ffdbd, but added to a non-existent container, whoops. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375 --- js/ui/components/networkAgent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"),