pidgin: 69b3b10f: Patch to change around some logic that s...

qulogic at pidgin.im qulogic at pidgin.im
Fri Jun 5 00:31:10 EDT 2009


-----------------------------------------------------------------
Revision: 69b3b10f3cd5853b74cace5f7247f384555cbbff
Ancestor: 0f35cd33aa18c3505d499dd84b75cce0a66f3988
Author: qulogic at pidgin.im
Date: 2009-06-05T04:13:10
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/69b3b10f3cd5853b74cace5f7247f384555cbbff

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Patch to change around some logic that should fix missing buddies that are
set to "show when offline".

Fixes #9288 and #4606.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	e2c34681dd45ab49f61db88e707aa8f991cb37dc
+++ pidgin/gtkblist.c	aa8a53ebae1b8bbef4842e08ad5ec766c05ef937
@@ -6222,10 +6222,9 @@ static void pidgin_blist_update_group(Pu
 
 	if (count > 0 || purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/show_empty_groups"))
 		show = TRUE;
-	else if (PURPLE_BLIST_NODE_IS_BUDDY(node)) { /* Or chat? */
-		if (buddy_is_displayable((PurpleBuddy*)node))
-			show = TRUE;
-	} else if (!show_offline && PURPLE_BLIST_NODE_IS_GROUP(node)) {
+	else if (PURPLE_BLIST_NODE_IS_BUDDY(node) && buddy_is_displayable((PurpleBuddy*)node)) { /* Or chat? */
+		show = TRUE;
+	} else if (!show_offline) {
 		show = pidgin_blist_group_has_show_offline_buddy(group);
 	}
 


More information about the Commits mailing list