[gnome-shell/uajain/adapt-user-avatar-part2: 32/39] loginDialog: Use text entry for username



commit 6f397fe51c17bc23ae224131f2879f944f7d6db9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Feb 6 17:30:36 2020 -0300

    loginDialog: Use text entry for username
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

 js/gdm/authPrompt.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index d29414004b..a62e1b13df 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -423,6 +423,9 @@ var AuthPrompt = GObject.registerClass({
 
         let userWidget = new UserWidget.UserWidget(user, Clutter.Orientation.VERTICAL);
         this._userWell.set_child(userWidget);
+
+        if (!user)
+            this._updateEntry(false);
     }
 
     reset() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]