# HG changeset patch # User Nathan Walp # Date 1065317101 0 # Node ID 19cc14ea75993a0beb0657662d0a4a8b415e1f3e # Parent d4bb24ecc6aab9408c818e175ad799774455f38e [gaim-migrate @ 7721] i always liked the way xchat does this committer: Tailor Script diff -r d4bb24ecc6aa -r 19cc14ea7599 src/gtkconv.c --- a/src/gtkconv.c Sun Oct 05 00:57:54 2003 +0000 +++ b/src/gtkconv.c Sun Oct 05 01:25:01 2003 +0000 @@ -5034,11 +5034,15 @@ } else if (type == GAIM_CONV_UPDATE_TOPIC) { + const char *topic; chat = GAIM_CONV_CHAT(conv); gtkchat = gtkconv->u.chat; - gtk_entry_set_text(GTK_ENTRY(gtkchat->topic_text), - gaim_conv_chat_get_topic(chat)); + topic = gaim_conv_chat_get_topic(chat); + + gtk_entry_set_text(GTK_ENTRY(gtkchat->topic_text),topic); + gtk_tooltips_set_tip(gtkconv->tooltips, gtkchat->topic_text, + topic, NULL); } else if (type == GAIM_CONV_ACCOUNT_ONLINE || type == GAIM_CONV_ACCOUNT_OFFLINE) {