Mercurial > pidgin
diff src/gtkconv.c @ 7154:19cc14ea7599
[gaim-migrate @ 7721]
i always liked the way xchat does this
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 05 Oct 2003 01:25:01 +0000 |
parents | 3aa374a7bc2e |
children | e60a007bab7d |
line wrap: on
line diff
--- 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) {