# HG changeset patch # User Mark Doliner # Date 1058084442 0 # Node ID 786adff640e1270358dd52f262e544d09609d37e # Parent 29ddc42ff402555fe04fb7062596d3352974a353 [gaim-migrate @ 6566] This mostly fixes Cae non-fatal bug 11. The password is now correctly updated in the accounts.xml file. However, the asterisked password set in the login window is not changed, so if you try to re-login with the login window without exiting Gaim then it will use your old password, and something triggers a write of accounts.xml, so the old password gets written to accounts.xml. I would think the snazziest way around this is for the accounts API to allow stuff to attach signals to say, a password change for any account. ...but I won't be the one to do that. "Under the ruins of a waaalled city..." committer: Tailor Script diff -r 29ddc42ff402 -r 786adff640e1 src/dialogs.c --- a/src/dialogs.c Sun Jul 13 07:58:32 2003 +0000 +++ b/src/dialogs.c Sun Jul 13 08:20:42 2003 +0000 @@ -2116,7 +2116,7 @@ } serv_change_passwd(b->gc, orig, new1); - g_snprintf(b->gc->account->password, sizeof(b->gc->account->password), "%s", new1); + gaim_account_set_password(gaim_connection_get_account(b->gc), new1); destroy_dialog(NULL, b->window); g_free(b);