Mercurial > pidgin.yaz
comparison src/dialogs.c @ 4316:c5851f0e120e
[gaim-migrate @ 4570]
(19:17:32) faceprint: current gaim CVS writes it once per buddy at signon, and then once every time a buddy changes state
(19:17:35) faceprint: patch takes do_export() out of handle_buddy_rename() and puts it in the appropriate places
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 15 Jan 2003 00:18:16 +0000 |
parents | 5978e3d53f29 |
children | cc2f780c0505 |
comparison
equal
deleted
inserted
replaced
4315:6e36a04209c0 | 4316:c5851f0e120e |
---|---|
3775 g_snprintf(b->alias, sizeof(b->alias), "%s", al); | 3775 g_snprintf(b->alias, sizeof(b->alias), "%s", al); |
3776 else | 3776 else |
3777 b->alias[0] = '\0'; | 3777 b->alias[0] = '\0'; |
3778 handle_buddy_rename(b, b->name); | 3778 handle_buddy_rename(b, b->name); |
3779 serv_alias_buddy(b); | 3779 serv_alias_buddy(b); |
3780 do_export(b->gc); | |
3780 destroy_dialog(aliasdlg, aliasdlg); | 3781 destroy_dialog(aliasdlg, aliasdlg); |
3781 } | 3782 } |
3782 | 3783 |
3783 void alias_dialog_bud(struct buddy *b) | 3784 void alias_dialog_bud(struct buddy *b) |
3784 { | 3785 { |
4423 if (g) | 4424 if (g) |
4424 serv_remove_buddy(b->gc, b->name, g->name); | 4425 serv_remove_buddy(b->gc, b->name, g->name); |
4425 g_snprintf(b->name, sizeof(b->name), "%s", new_name); | 4426 g_snprintf(b->name, sizeof(b->name), "%s", new_name); |
4426 serv_add_buddy(b->gc, b->name); | 4427 serv_add_buddy(b->gc, b->name); |
4427 handle_buddy_rename(b, prevname); | 4428 handle_buddy_rename(b, prevname); |
4429 do_export(b->gc); | |
4428 g_free(prevname); | 4430 g_free(prevname); |
4429 } | 4431 } |
4430 | 4432 |
4431 destroy_dialog(rename_bud_dialog, rename_bud_dialog); | 4433 destroy_dialog(rename_bud_dialog, rename_bud_dialog); |
4432 } | 4434 } |