# HG changeset patch # User Nathan Walp # Date 1049150456 0 # Node ID 36c06909823ea4f375605a6f5a728e33d492a92d # Parent afffba7c292ed6c8b5b9acb30b7a454921763976 [gaim-migrate @ 5262] the world is a colorful place, and now, so is the buddy list. committer: Tailor Script diff -r afffba7c292e -r 36c06909823e src/buddy.c --- a/src/buddy.c Mon Mar 31 21:53:35 2003 +0000 +++ b/src/buddy.c Mon Mar 31 22:40:56 2003 +0000 @@ -899,8 +899,10 @@ /* Idle grey buddies affects the whole row. This converts the status icon to greyscale. */ - if ((b->idle && blist_options & OPT_BLIST_GREY_IDLERS) || gtkblist->editmode) - gdk_pixbuf_saturate_and_pixelate(scale, scale, 0, FALSE); + if (!b->present && gtkblist->editmode) + gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); + else if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) + gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.25, FALSE); return scale; } @@ -921,9 +923,11 @@ if (buf) { - if ((b->idle && blist_options & OPT_BLIST_GREY_IDLERS) || gtkblist->editmode) { - gdk_pixbuf_saturate_and_pixelate(buf, buf, 0, FALSE); - } + if (!b->present && gtkblist->editmode) + gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.0, FALSE); + if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) + gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.25, FALSE); + ret = gdk_pixbuf_scale_simple(buf,30,30, GDK_INTERP_BILINEAR); g_object_unref(G_OBJECT(buf)); return ret;