Mercurial > pidgin
changeset 17405: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 | 747e5fd970e6 |
files | pidgin/gtkblist.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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");