[gaim-migrate @ 5276]

Tue, 01 Apr 2003 06:42:17 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Tue, 01 Apr 2003 06:42:17 +0000
changeset 4942
202cb90e14ba
parent 4941
fdb0bcfc35a4
child 4943
17a1fe4044b6

[gaim-migrate @ 5276]
Tabs are now updated when an alias changes.

src/list.c file | annotate | diff | comparison | revisions
--- a/src/list.c	Tue Apr 01 06:09:07 2003 +0000
+++ b/src/list.c	Tue Apr 01 06:42:17 2003 +0000
@@ -163,11 +163,21 @@
 void  gaim_blist_alias_buddy (struct buddy *buddy, const char *alias)
 {
 	struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops;
+	struct gaim_conversation *conv;
+
 	g_free(buddy->alias);
+
 	buddy->alias = g_strdup(alias);
+
 	if (ops)
 		ops->update(gaimbuddylist, (GaimBlistNode*)buddy);
+
+	conv = gaim_find_conversation_with_account(buddy->name, buddy->account);
+
+	if (conv)
+		gaim_conversation_autoset_title(conv);
 }
+
 void gaim_blist_rename_group(struct group *group, const char *name)
 {
 	struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops;

mercurial