diff src/gtkconn.c @ 13015:2d71d4081e06

[gaim-migrate @ 15368] Alright, no beta tonight, I need sleep :-( We'll do it soon. Here's my implementation for connection error reporting. It's currently ugly, but I think you'll get the idea. Is this acceptable to people? I might not have a lot of time to finish this up on Monday. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 23 Jan 2006 08:08:33 +0000
parents 5efbb0162f86
children 6728a282269b
line wrap: on
line diff
--- a/src/gtkconn.c	Mon Jan 23 06:54:29 2006 +0000
+++ b/src/gtkconn.c	Mon Jan 23 08:08:33 2006 +0000
@@ -84,6 +84,7 @@
 	if (g_hash_table_size(errored_accounts) > 0)
 	{
 		g_hash_table_remove(errored_accounts, account);
+		gaim_gtk_blist_update_account_error_state(account, NULL);
 		if (g_hash_table_size(errored_accounts) == 0)
 			gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), NULL);
 	}
@@ -155,6 +156,7 @@
 	errored_account = g_hash_table_lookup(errored_accounts, account);
 
 	if (!gc->wants_to_die) {
+		gaim_gtk_blist_update_account_error_state(account, text);
 		if (gtkblist != NULL)
 			gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), text);
 
@@ -232,6 +234,7 @@
 	if (g_hash_table_size(errored_accounts) > 0)
 	{
 		g_hash_table_remove(errored_accounts, account);
+		gaim_gtk_blist_update_account_error_state(account, NULL);
 		if (g_hash_table_size(errored_accounts) == 0)
 		{
 			GaimGtkBuddyList *gtkblist;