changeset 18323:e3df2f61d03d

Make password fileds in Jabber's Change Password dialog required. Fixes #1907
author Sean Egan <seanegan@gmail.com>
date Wed, 27 Jun 2007 21:41:04 +0000
parents dd8602271dc5
children 075fa1c68bce
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Wed Jun 27 21:28:45 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Wed Jun 27 21:41:04 2007 +0000
@@ -1369,11 +1369,13 @@
 	field = purple_request_field_string_new("password1", _("Password"),
 			"", FALSE);
 	purple_request_field_string_set_masked(field, TRUE);
+	purple_request_field_set_required(field, TRUE);
 	purple_request_field_group_add_field(group, field);
 
 	field = purple_request_field_string_new("password2", _("Password (again)"),
 			"", FALSE);
 	purple_request_field_string_set_masked(field, TRUE);
+	purple_request_field_set_required(field, TRUE);
 	purple_request_field_group_add_field(group, field);
 
 	purple_request_fields(js->gc, _("Change XMPP Password"),