Mercurial > pidgin
comparison src/gtksavedstatuses.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 | 30ad548e8537 |
comparison
equal
deleted
inserted
replaced
11250:4e25fb6678bd | 11251:ad9a61894d9b |
---|---|
648 | 648 |
649 if (pixbuf != NULL) | 649 if (pixbuf != NULL) |
650 { | 650 { |
651 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); | 651 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); |
652 | 652 |
653 if (!gaim_account_is_connected(account)) | 653 if (gaim_account_is_disconnected(account)) |
654 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); | 654 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
655 } | 655 } |
656 | 656 |
657 gtk_list_store_set(store, iter, | 657 gtk_list_store_set(store, iter, |
658 STATUS_EDITOR_COLUMN_ICON, scale, | 658 STATUS_EDITOR_COLUMN_ICON, scale, |