changeset 8215:83830cb8467e

[gaim-migrate @ 8938] a patch from marv to fix the account thingy, and a tweak from me to make the account thingy on the login screen not suck. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 06 Feb 2004 20:43:55 +0000
parents 3418a6d51464
children dcace041cfb8
files src/gtkutils.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutils.c	Fri Feb 06 03:14:25 2004 +0000
+++ b/src/gtkutils.c	Fri Feb 06 20:43:55 2004 +0000
@@ -801,8 +801,10 @@
 			account = gaim_connection_get_account(gc);
 		}
 
-		if (check_account_func && !check_account_func(account))
+		if (check_account_func && !check_account_func(account)) {
+			i--;
 			continue;
+		}
 
 		plugin = gaim_find_prpl(gaim_account_get_protocol_id(account));
 
@@ -832,7 +834,8 @@
 				scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16,
 				                                GDK_INTERP_BILINEAR);
 
-				if (!gaim_account_is_connected(account))
+				if (!gaim_account_is_connected(account) && show_all &&
+						gaim_connections_get_all())
 					gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.0, FALSE);
 
 				image = gtk_image_new_from_pixbuf(scale);