diff pidgin/gtkblist.c @ 17488:45178b7e580d

Show the Invisible icon (the same one in the statusbox for buddies that are broadcasting an invisible status to you. This should fix #740, but I'm not positive
author Sean Egan <seanegan@gmail.com>
date Thu, 31 May 2007 00:57:53 +0000
parents 4b711c5c2db8
children e91e2b450e5d 0e4a789cd027 fbebe15c91a7
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Thu May 31 00:47:24 2007 +0000
+++ b/pidgin/gtkblist.c	Thu May 31 00:57:53 2007 +0000
@@ -3246,6 +3246,9 @@
 		else if (purple_presence_is_idle(p) && size == PIDGIN_STATUS_ICON_SMALL)
 			ret = gtk_widget_render_icon (GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_AVAILABLE_I,
 					icon_size, "GtkTreeView");
+		else if (purple_presence_is_status_primitive_active(p, PURPLE_STATUS_INVISIBLE))
+			ret = gtk_widget_render_icon(GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_INVISIBLE,
+					icon_size, "GtkTreeView");
 		else
 			ret = gtk_widget_render_icon(GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_AVAILABLE,
 					icon_size, "GtkTreeView");