New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password visibility toggle #693
Password visibility toggle #693
Conversation
| @@ -102,10 +102,19 @@ def __init__(self, ssid, flags, wpa_flags, rsn_flags, dev_caps, response): | |||
|
|
|||
| def add_key_entry(self): | |||
| self._entry = Gtk.Entry() | |||
| self._entry.set_visibility(False) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just pass properties as constructor kwargs, eg:
self._entry = Gtk.Entry(visibility=False)
|
Looks good. I totally agree with the patch. Maybe we could default to it being visible? Visible is more usable :) In a school context, is the WiFi password really secret? I also think that windows 10 defaults to visible wifi passwords, but don't trust me on that. |
|
fixed. |
|
Great. I'll merge it! But can you just squash 'em commits? |
Now the user can toggle the password visible via 'show password' checkButton provided
11fcb77
to
dca2f17
Compare
|
Squashed. |
Password is invisible. Regression introduced in dca2f17. Consensus in pull request sugarlabs#693 was to show the password.
|
@iamutkarshtiwari, please review #703. |
This fixes the issue - https://bugs.sugarlabs.org/ticket/4963
Now the user can toggle the password visiblility via 'show password' checkButton provided