[gnome-shell/uajain/adapt-user-avatar-part2: 5/10] 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: 5/10] authPrompt: Do not display "Password:" Label
- Date: Sat, 1 Feb 2020 20:44:12 +0000 (UTC)
commit c8314310265fc6f46942d1ea156a620b75415605
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 9b56da868f..ddab2e38c6 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -211,6 +211,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]