# HG changeset patch # User Sadrul Habib Chowdhury # Date 1179194710 0 # Node ID c30dae34dd330c2be57e23e5da52125e8df0e6ce # Parent e7ad18acc238d41068119cf811efba2356cef6fe Update the tab-title for chats immediately after aliasing. diff -r e7ad18acc238 -r c30dae34dd33 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Tue May 15 01:16:44 2007 +0000 +++ b/pidgin/gtkconv.c Tue May 15 02:05:10 2007 +0000 @@ -3977,6 +3977,12 @@ } else if (PURPLE_BLIST_NODE_IS_BUDDY(node)) update_chat_alias((PurpleBuddy *)node, conv, gc, prpl_info); + else if (PURPLE_BLIST_NODE_IS_CHAT(node) && + purple_conversation_get_account(conv) == ((PurpleChat*)node)->account) + { + if (old_alias == NULL || g_utf8_collate(old_alias, purple_conversation_get_title(conv)) == 0) + pidgin_conv_update_fields(conv, PIDGIN_CONV_SET_TITLE); + } } static void