Mercurial > pidgin
diff src/gtkblist.c @ 12466:31e4eb57cc86
[gaim-migrate @ 14776]
Patch sent to gaim-devel by Pradyumna Sampath
Corresponding to SF #1378865:
'In the menu:
"Accounts - Enable Account" menu item. Gives a list of
accounts that are *not* online. Shouldnt this be greyed
to indicate so ? If you think it should be here is a
patch that does the same , you may use it if you want to.'
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Dec 2005 17:32:32 +0000 |
parents | 2b08a27c2342 |
children | 6faefbebcd24 |
line wrap: on
line diff
--- a/src/gtkblist.c Mon Dec 12 08:08:07 2005 +0000 +++ b/src/gtkblist.c Mon Dec 12 17:32:32 2005 +0000 @@ -5547,6 +5547,8 @@ if (pixbuf) { scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); + if (gaim_account_is_disconnected(account)) + gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.00, FALSE); image = gtk_image_new_from_pixbuf(scale); g_object_unref(G_OBJECT(pixbuf)); g_object_unref(G_OBJECT(scale));