[gnome-shell/uajain/adapt-user-avatar-part2] fixup! userWidget: Revamp username-based login flow
- From: Umang Jain <uajain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/adapt-user-avatar-part2] fixup! userWidget: Revamp username-based login flow
- Date: Thu, 6 Feb 2020 04:20:45 +0000 (UTC)
commit e1a7d17a0d2109908f2e6f02acd22138f10d9f97
Author: Umang Jain <mailumangjain gmail com>
Date: Thu Feb 6 09:46:48 2020 +0530
fixup! userWidget: Revamp username-based login flow
Fix a bug where sessionMenuButton was not visible in a username-based
login; if a authPrompt had previously triggered.
(User-list -> Select a user from list -> Cancel the prompt
-> Click "Not Listed" -> sessionMenuButton was not displayed)
js/gdm/loginDialog.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 409e8c5382..11eafb8f55 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -930,7 +930,10 @@ var LoginDialog = GObject.registerClass({
});
this._updateCancelButton();
- this._sessionMenuButton.updateSensitivity(this._shouldShowSessionMenuButton());
+ const showSessionMenu = this._shouldShowSessionMenuButton();
+ this._sessionMenuButton.updateSensitivity(showSessionMenu);
+ this._sessionMenuButton.visible = showSessionMenu;
+
this._authPrompt.updateSensitivity(true);
this._showPrompt();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]