| 1756 if (pixbuf != NULL) |
1756 if (pixbuf != NULL) |
| 1757 { |
1757 { |
| 1758 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, |
1758 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, |
| 1759 GDK_INTERP_BILINEAR); |
1759 GDK_INTERP_BILINEAR); |
| 1760 |
1760 |
| 1761 if (!gaim_account_is_connected(account)) |
1761 if (gaim_account_is_disconnected(account)) |
| 1762 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
1762 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
| 1763 } |
1763 } |
| 1764 gtk_list_store_set(dialog->model, &iter, |
1764 gtk_list_store_set(dialog->model, &iter, |
| 1765 COLUMN_ICON, scale, |
1765 COLUMN_ICON, scale, |
| 1766 COLUMN_PULSE_DATA, NULL, |
1766 COLUMN_PULSE_DATA, NULL, |
| 2142 |
2142 |
| 2143 if (pixbuf != NULL) |
2143 if (pixbuf != NULL) |
| 2144 { |
2144 { |
| 2145 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); |
2145 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); |
| 2146 |
2146 |
| 2147 if (!gaim_account_is_connected(account)) |
2147 if (gaim_account_is_disconnected(account)) |
| 2148 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
2148 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE); |
| 2149 } |
2149 } |
| 2150 |
2150 |
| 2151 gtk_list_store_set(store, iter, |
2151 gtk_list_store_set(store, iter, |
| 2152 COLUMN_ICON, scale, |
2152 COLUMN_ICON, scale, |