pidgin: 1d360041: Fix the auto-personize stuff. Closes #99...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Aug 25 02:21:48 EDT 2009


-----------------------------------------------------------------
Revision: 1d360041ff45d34220efcda18bc92c70831b672f
Ancestor: 3b7b63ebdf58f9cc78e77bf88c40e48b704dd1a8
Author: darkrain42 at pidgin.im
Date: 2009-08-25T06:16:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1d360041ff45d34220efcda18bc92c70831b672f

Modified files:
        ChangeLog pidgin/gtkblist.c

ChangeLog: 

Fix the auto-personize stuff. Closes #9948.

-------------- next part --------------
============================================================
--- ChangeLog	bb8d27591fb576b45c2baf587a8d767802879e11
+++ ChangeLog	4312076f99953fdf162edd1e0bf75839656298e3
@@ -17,6 +17,9 @@ version 2.6.2 (??/??/2009):
 	Finch:
 	* Properly detect libpanel on OpenBSD.  (Brad Smith)
 
+	Pidgin:
+	* Fix the auto-personize functionality in the Buddy List.
+
 version 2.6.1 (08/18/2009):
 	* Fix a crash when some users send you a link in a Yahoo IM
 	* Fix compilation with GTK+ < 2.6.0
============================================================
--- pidgin/gtkblist.c	b535b055d81462aecdc0fb32c6e6c7000cedd0c3
+++ pidgin/gtkblist.c	5d55c90677d609d596823cbdb86c43ea152bed0c
@@ -496,15 +496,12 @@ gtk_blist_do_personize(GList *merges)
 	for (tmp = merges; tmp; tmp = tmp->next) {
 		PurpleBlistNode *node = tmp->data;
 		PurpleBlistNode *b;
-		PurpleBlistNodeType type;
 		int i = 0;
 
-		type = purple_blist_node_get_type(node);
-
-		if(type == PURPLE_BLIST_BUDDY_NODE)
+		if (purple_blist_node_get_type(node) == PURPLE_BLIST_BUDDY_NODE)
 			node = purple_blist_node_get_parent(node);
 
-		if(type == PURPLE_BLIST_CONTACT_NODE)
+		if (purple_blist_node_get_type(node) != PURPLE_BLIST_CONTACT_NODE)
 			continue;
 
 		for (b = purple_blist_node_get_first_child(node);


More information about the Commits mailing list