[gnome-shell/uajain/adapt-user-avatar-part2: 1/7] authPrompt: Add "Enter Password" as password-entry hint-text



commit 409a44fa8cd78a6f260a0b201aa8e05069d0df4c
Author: Umang Jain <mailumangjain gmail com>
Date:   Wed Jan 15 00:33:51 2020 +0530

    authPrompt: Add "Enter Password" as password-entry hint-text
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

 js/gdm/authPrompt.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 6b18e45b6a..b9895c4dc0 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -160,6 +160,7 @@ var AuthPrompt = GObject.registerClass({
         ShellEntry.addContextMenu(this._textEntry, { actionMode: Shell.ActionMode.NONE });
 
         this._passwordEntry = new St.PasswordEntry(entryParams);
+        this._passwordEntry.hint_text = "Enter Password…";
         ShellEntry.addContextMenu(this._passwordEntry, { actionMode: Shell.ActionMode.NONE });
 
         this._entry = this._passwordEntry;


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