changeset 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 ae4ae98bca20
children 1b57012eec7b
files COPYRIGHT src/gtkblist.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Mon Dec 12 08:08:07 2005 +0000
+++ b/COPYRIGHT	Mon Dec 12 17:32:32 2005 +0000
@@ -195,8 +195,9 @@
 Andrew Rodland
 Jason Roth
 Jean-Francois Roy
+Sam S.
+Pradyumna Sampath
 Arvind Samptur
-Sam S.
 Tom Samstag
 Neil Sanchala
 Laurent Sansonetti
--- 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));