[gnome-shell/uajain/adapt-user-avatar-part2: 8/22] loginDialog: Set null user when asking for username
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/adapt-user-avatar-part2: 8/22] loginDialog: Set null user when asking for username
- Date: Wed, 12 Feb 2020 19:28:56 +0000 (UTC)
commit 055bbfecb2c3cbf644859e3799ee21b7f4c32856
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Feb 6 16:24:32 2020 -0300
loginDialog: Set null user when asking for username
When going through the username + password login flow, set
the username to 'null' to update the user avatar.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
js/gdm/loginDialog.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index b3e32a6709..4a7bc5a4c1 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -913,6 +913,7 @@ var LoginDialog = GObject.registerClass({
}
_askForUsernameAndBeginVerification() {
+ this._authPrompt.setUser(null);
this._authPrompt.setQuestion(_("Username: "));
this._showRealmLoginHint(this._realmManager.loginFormat);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]