GNOME Bugzilla – Bug 712616
Password Dialog should also ask for username, not only for password
Last modified: 2013-11-26 02:03:35 UTC
zenity --password --username provides a dialog with entry boxes for both a username and password, as shown in the attachment, and the documentation here: https://help.gnome.org/users/zenity/stable/password.html.en The dialog text is "Type your password", but should read something like "Enter your username and password".
Created attachment 260147 [details] Password Dialog Screenshot
Created attachment 262800 [details] [review] A patch to fix this issue Hi, I'm attaching a small patch that fixes the problem. I added a gchar containing the original text and I check if username is being passed as a parameter, and if it is it's replaced with text asking for the username and password. Let me know if you have any questions or suggestions.
Fixed on master: https://git.gnome.org/browse/zenity/commit/?id=cdef9c8fa16fd3ab9c4790c328285de15a0dfcd0