[gnome-shell/uajain/adapt-user-avatar-part2: 13/18] authPrompt: Do not display "Password:" Label
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/adapt-user-avatar-part2: 13/18] authPrompt: Do not display "Password:" Label
- Date: Wed, 5 Feb 2020 17:16:48 +0000 (UTC)
commit c3267ba4158fe209f690fc62a87853acaf9daeab
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]