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



commit 912ffc54755412fa6e957801ead3431ee788c3c8
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 2d342ad4f0..4923cd059d 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -156,6 +156,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]