diff src/gtkaccount.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 bb0d7b719af2
line wrap: on
line diff
--- a/src/gtkaccount.c	Sat Aug 13 05:30:13 2005 +0000
+++ b/src/gtkaccount.c	Sat Aug 13 05:54:34 2005 +0000
@@ -1758,7 +1758,7 @@
 			scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16,
 											GDK_INTERP_BILINEAR);
 
-			if (!gaim_account_is_connected(account))
+			if (gaim_account_is_disconnected(account))
 				gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE);
 		}
 		gtk_list_store_set(dialog->model, &iter,
@@ -2144,7 +2144,7 @@
 	{
 		scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR);
 
-		if (!gaim_account_is_connected(account))
+		if (gaim_account_is_disconnected(account))
 			gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE);
 	}