Mercurial > pidgin.yaz
comparison src/dialogs.c @ 3136:1bd472b7f7a2
[gaim-migrate @ 3151]
Jabber sync. fixen
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 12 Apr 2002 02:15:24 +0000 |
parents | 8cf0497fbb30 |
children | 0697a3ad9f3b |
comparison
equal
deleted
inserted
replaced
3135:1838f48a5f72 | 3136:1bd472b7f7a2 |
---|---|
3380 static void do_alias_bud(GtkWidget *w, struct buddy *b) | 3380 static void do_alias_bud(GtkWidget *w, struct buddy *b) |
3381 { | 3381 { |
3382 char *al = gtk_entry_get_text(GTK_ENTRY(aliasname)); | 3382 char *al = gtk_entry_get_text(GTK_ENTRY(aliasname)); |
3383 g_snprintf(b->show, sizeof(b->show), "%s", (al && strlen(al)) ? al : b->name); | 3383 g_snprintf(b->show, sizeof(b->show), "%s", (al && strlen(al)) ? al : b->name); |
3384 handle_buddy_rename(b, b->name); | 3384 handle_buddy_rename(b, b->name); |
3385 serv_alias_buddy(b); | |
3385 destroy_dialog(aliasdlg, aliasdlg); | 3386 destroy_dialog(aliasdlg, aliasdlg); |
3386 } | 3387 } |
3387 | 3388 |
3388 void alias_dialog_bud(struct buddy *b) | 3389 void alias_dialog_bud(struct buddy *b) |
3389 { | 3390 { |