[gnome-shell/uajain/adapt-user-avatar-part2: 49/62] 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: 49/62] loginDialog: Set null user when asking for username
- Date: Tue, 11 Feb 2020 13:53:37 +0000 (UTC)
commit c8cac4010327c7ab50297e9e6f128d56e46f6c00
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 aadc748646..6202bdf296 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -909,6 +909,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]