pidgin: 8ac2f146: Destroy the tooltip when a group in the ...

sadrul at pidgin.im sadrul at pidgin.im
Sun Apr 13 13:40:51 EDT 2008


-----------------------------------------------------------------
Revision: 8ac2f1461dd4df5ba43e8c0399b59451b3c549e6
Ancestor: f4db276cfc4aa620ee646890091dc04329d8030b
Author: sadrul at pidgin.im
Date: 2008-04-13T17:33:13
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8ac2f1461dd4df5ba43e8c0399b59451b3c549e6

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	0db209ac2d7b9108a07813e6720b0e6aa4bcf953
+++ pidgin/gtkblist.c	ebf5556bccb8f0cf8ee8069a7b39b2251e50c8db
@@ -1033,6 +1033,7 @@ static void gtk_blist_row_expanded_cb(Gt
 		g_free(title);
 
 		purple_blist_node_set_bool(node, "collapsed", FALSE);
+		pidgin_blist_tooltip_destroy();
 	}
 }
 
@@ -1070,7 +1071,7 @@ static void gtk_blist_row_collapsed_cb(G
 				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);
 	}


More information about the Commits mailing list