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



commit 787cd1eb8cb0e8e5a7961f5fc3b6ff312c1f601e
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]