[gnome-shell/uajain/adapt-user-avatar-part2: 73/84] loginDialog: Set null user when asking for username



commit 3894781f0f3275d25be2923c3b916a49afcda3fa
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]