changeset 24932:1e56413147dd

no reason not to show other emblems when contact is expanded
author Ka-Hing Cheung <khc@hxbc.us>
date Sat, 10 Jan 2009 07:33:26 +0000
parents 3e39e4652c36
children b5fccd9d3fce
files pidgin/gtkblist.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Jan 10 07:12:56 2009 +0000
+++ b/pidgin/gtkblist.c	Sat Jan 10 07:33:26 2009 +0000
@@ -3648,9 +3648,8 @@
 		}
 
 		if (((struct _pidgin_blist_node*)(node->parent->ui_data))->contact_expanded) {
-			if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/show_protocol_icons"))
-				return NULL;
-			return pidgin_create_prpl_icon(((PurpleBuddy*)node)->account, PIDGIN_PRPL_ICON_SMALL);
+			if (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/show_protocol_icons"))
+				return pidgin_create_prpl_icon(((PurpleBuddy*)node)->account, PIDGIN_PRPL_ICON_SMALL);
 		}
 	} else {
 		return NULL;