Mercurial > pidgin
comparison src/gtkutils.c @ 11251:ad9a61894d9b
[gaim-migrate @ 13420]
sf patch #1242524, from Sadrul Habib Chowdhury
gaim_account_is_connected fix
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 05:54:34 +0000 |
parents | a511b77a368b |
children | 17142948653e |
comparison
equal
deleted
inserted
replaced
11250:4e25fb6678bd | 11251:ad9a61894d9b |
---|---|
630 if (pixbuf != NULL) { | 630 if (pixbuf != NULL) { |
631 /* Scale and insert the image */ | 631 /* Scale and insert the image */ |
632 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, | 632 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, |
633 GDK_INTERP_BILINEAR); | 633 GDK_INTERP_BILINEAR); |
634 | 634 |
635 if (!gaim_account_is_connected(account) && show_all && | 635 if (gaim_account_is_disconnected(account) && show_all && |
636 gaim_connections_get_all()) | 636 gaim_connections_get_all()) |
637 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); | 637 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
638 | 638 |
639 image = gtk_image_new_from_pixbuf(scale); | 639 image = gtk_image_new_from_pixbuf(scale); |
640 | 640 |