[gnome-shell/uajain/adapt-user-avatar-part2: 11/16] authPrompt: Do not display "Password:" Label
- From: Umang Jain <uajain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/adapt-user-avatar-part2: 11/16] authPrompt: Do not display "Password:" Label
- Date: Tue, 4 Feb 2020 14:41:08 +0000 (UTC)
commit d50825a50ef7e3611dd399d80686d3eb1554adfe
Author: Umang Jain <mailumangjain gmail com>
Date: Wed Jan 8 18:21:10 2020 +0530
authPrompt: Do not display "Password:" Label
(Currently, a shameless hack)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
js/gdm/authPrompt.js | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 4923cd059d..99387bda05 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -207,6 +207,11 @@ var AuthPrompt = GObject.registerClass({
}
this._updateEntry(secret);
+
+ // HACK: Mask question i.e. "Password:" label here).
+ if (serviceName === 'gdm-password')
+ question = '';
+
this.setQuestion(question);
this.updateSensitivity(true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]