diff pidgin/gtkblist.c @ 22646:654f8386f4b3

Destroy the tooltip when a group in the buddylist is expanded or collapsed to make sure the tooltip doesn't hide the newly exposed contacts/chats. References #5106.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 13 Apr 2008 17:33:13 +0000
parents 3bf963b9c715
children 84dc71e67a72
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Apr 13 17:12:05 2008 +0000
+++ b/pidgin/gtkblist.c	Sun Apr 13 17:33:13 2008 +0000
@@ -1033,6 +1033,7 @@
 		g_free(title);
 
 		purple_blist_node_set_bool(node, "collapsed", FALSE);
+		pidgin_blist_tooltip_destroy();
 	}
 }
 
@@ -1070,7 +1071,7 @@
 				pidgin_blist_update_contact(NULL, cnode);
 			}
 		}
-
+		pidgin_blist_tooltip_destroy();
 	} else if(PURPLE_BLIST_NODE_IS_CONTACT(node)) {
 		pidgin_blist_collapse_contact_cb(NULL, node);
 	}