Mercurial > pidgin.yaz
comparison src/buddy.c @ 4930:d090282c42f7
[gaim-migrate @ 5264]
Robot101 is picky, and he spells color wrong ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 31 Mar 2003 23:03:15 +0000 |
parents | 8a20332821b6 |
children | 34448ffab4f1 |
comparison
equal
deleted
inserted
replaced
4929:8a20332821b6 | 4930:d090282c42f7 |
---|---|
898 } | 898 } |
899 } | 899 } |
900 | 900 |
901 | 901 |
902 /* Idle grey buddies affects the whole row. This converts the status icon to greyscale. */ | 902 /* Idle grey buddies affects the whole row. This converts the status icon to greyscale. */ |
903 if (!b->present && blist_options & OPT_BLIST_SHOW_OFFLINE) | 903 if (!b->present) |
904 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); | 904 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
905 else if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) | 905 else if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) |
906 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.25, FALSE); | 906 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.25, FALSE); |
907 return scale; | 907 return scale; |
908 } | 908 } |
922 buf = gdk_pixbuf_new_from_file(file, NULL); | 922 buf = gdk_pixbuf_new_from_file(file, NULL); |
923 g_free(file); | 923 g_free(file); |
924 | 924 |
925 | 925 |
926 if (buf) { | 926 if (buf) { |
927 if (!b->present && blist_options & OPT_BLIST_SHOW_OFFLINE) | 927 if (!b->present) |
928 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.0, FALSE); | 928 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.0, FALSE); |
929 if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) | 929 if (b->idle && blist_options & OPT_BLIST_GREY_IDLERS) |
930 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.25, FALSE); | 930 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.25, FALSE); |
931 | 931 |
932 ret = gdk_pixbuf_scale_simple(buf,30,30, GDK_INTERP_BILINEAR); | 932 ret = gdk_pixbuf_scale_simple(buf,30,30, GDK_INTERP_BILINEAR); |