diff pidgin/gtkconv.c @ 22437:8802eddbfedc

Fix Topic in chat node tooltips, and turn on using the transient chat node for chats not on the buddy list when building tooltips. I hope this doesn't break too much.
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 09 Mar 2008 16:52:07 +0000
parents 5c72a6c071db
children 77b6ff5bdb07 efaecb71baad 9f67f9a58564
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sun Mar 09 16:46:04 2008 +0000
+++ b/pidgin/gtkconv.c	Sun Mar 09 16:52:07 2008 +0000
@@ -4577,14 +4577,12 @@
 	conv = gtkconv->active_conv;
 	if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) {
 		node = (PurpleBlistNode*)(purple_blist_find_chat(conv->account, conv->name));
-#if 0
-		/* Using the transient blist nodes to show the tooltip doesn't quite work yet. */
 		if (!node)
 			node = g_object_get_data(G_OBJECT(gtkconv->imhtml), "transient_chat");
-#endif
 	} else {
 		node = (PurpleBlistNode*)(purple_find_buddy(conv->account, conv->name));
 #if 0
+		/* Using the transient blist nodes to show the tooltip doesn't quite work yet. */
 		if (!node)
 			node = g_object_get_data(G_OBJECT(gtkconv->imhtml), "transient_buddy");
 #endif