[gnome-control-center] user-accounts: show the password by default once generated
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: show the password by default once generated
- Date: Mon, 19 Nov 2012 13:31:51 +0000 (UTC)
commit 33e360d4a7584950f54fda35a2994192acb422fd
Author: Thomas Wood <thomas wood intel com>
Date: Thu Nov 15 14:06:45 2012 +0000
user-accounts: show the password by default once generated
Make sure the user can see the newly generated password without having to
activate the show password check box.
https://bugzilla.gnome.org/show_bug.cgi?id=688401
panels/user-accounts/um-password-dialog.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-password-dialog.c b/panels/user-accounts/um-password-dialog.c
index 020c254..be49852 100644
--- a/panels/user-accounts/um-password-dialog.c
+++ b/panels/user-accounts/um-password-dialog.c
@@ -74,6 +74,10 @@ generate_one_password (GtkWidget *widget,
gtk_entry_set_text (GTK_ENTRY (um->password_entry), pwd);
gtk_entry_set_text (GTK_ENTRY (um->verify_entry), "");
+
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (um->show_password_button),
+ TRUE);
+
g_free (pwd);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]