Mercurial > pidgin.yaz
changeset 17107:c30dae34dd33
Update the tab-title for chats immediately after aliasing.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 15 May 2007 02:05:10 +0000 |
parents | e7ad18acc238 |
children | 62fa9341769c |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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