shellEntry: Remove isPassword property

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619
This commit is contained in:
Umang Jain
2019-12-12 16:52:17 +05:30
parent b0b8ab6c73
commit 5adbfdb590
5 changed files with 7 additions and 27 deletions

View File

@@ -65,8 +65,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
secret.entry = new St.PasswordEntry(entryParams);
else
secret.entry = new St.Entry(entryParams);
ShellEntry.addContextMenu(secret.entry,
{ isPassword: secret.password });
ShellEntry.addContextMenu(secret.entry);
if (secret.validate)
secret.valid = secret.validate(secret);