changeset 15473:fdba26a13731

prpl icons as emblems on chats (needs work to make it less ugly) and expanded persons
author Sean Egan <seanegan@gmail.com>
date Tue, 30 Jan 2007 07:48:57 +0000
parents 0b6f337a46d5
children 20cd2ea47648
files pidgin/gtkblist.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Tue Jan 30 06:53:23 2007 +0000
+++ b/pidgin/gtkblist.c	Tue Jan 30 07:48:57 2007 +0000
@@ -2950,6 +2950,10 @@
 	} else if(GAIM_BLIST_NODE_IS_BUDDY(node)) {
 		buddy = (GaimBuddy*)node;
 		gtkbuddynode = node->ui_data;
+		if (((struct _gaim_gtk_blist_node*)(node->parent->ui_data))->contact_expanded)
+			return gaim_gtk_create_prpl_icon(((GaimBuddy*)node)->account, PIDGIN_PRPL_ICON_SMALL);
+	} else if(GAIM_BLIST_NODE_IS_CHAT(node)) {
+		return gaim_gtk_create_prpl_icon(((GaimChat*)node)->account, PIDGIN_PRPL_ICON_SMALL);
 	} else {
 		return NULL;
 	}