comparison src/dialogs.c @ 4977:503f61301b81

[gaim-migrate @ 5312] Daniel Bungert (dbungert) noted and patched the situation where changing your password doesn't save your changed password to .gaimrc, so you can't log in again w/out manually editing the text file. his patch fixes that. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 03 Apr 2003 14:04:02 +0000
parents 461e8c89514f
children 307c16c4b57e
comparison
equal deleted inserted replaced
4976:6fc8edf857f5 4977:503f61301b81
1879 do_error_dialog(_("Fill out all fields completely"), NULL, GAIM_ERROR); 1879 do_error_dialog(_("Fill out all fields completely"), NULL, GAIM_ERROR);
1880 return; 1880 return;
1881 } 1881 }
1882 1882
1883 serv_change_passwd(b->gc, orig, new1); 1883 serv_change_passwd(b->gc, orig, new1);
1884 g_snprintf(b->gc->account->password, sizeof(b->gc->account->password), "%s", new1);
1885 save_prefs();
1884 1886
1885 destroy_dialog(NULL, b->window); 1887 destroy_dialog(NULL, b->window);
1886 g_free(b); 1888 g_free(b);
1887 } 1889 }
1888 1890