diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index 88316b892..03eaf7152 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -52,7 +52,7 @@ var AuthenticationDialog = GObject.registerClass({ this._user = AccountsService.UserManager.get_default().get_user(userName); let userRealName = this._user.get_real_name(); - this._userLoadedId = this._user.connect('notify::is_loaded', + this._userLoadedId = this._user.connect('notify::is-loaded', this._onUserChanged.bind(this)); this._userChangedId = this._user.connect('changed', this._onUserChanged.bind(this));