changeset 11560:c3bbfca00e85

[gaim-migrate @ 13824] And don't report those errors in the statusbox committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 20 Sep 2005 23:48:20 +0000
parents 5909ea4e7746
children 71945305a87e
files src/gtkconn.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconn.c	Tue Sep 20 23:28:23 2005 +0000
+++ b/src/gtkconn.c	Tue Sep 20 23:48:20 2005 +0000
@@ -141,7 +141,6 @@
 	GaimAutoRecon *info;
 	GSList* listAccount;
 
-	gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(list->statusbox), text);
 	if (hash == NULL) {
 	       	hash = g_hash_table_new_full(g_int_hash, g_int_equal, NULL,
 	       	free_auto_recon);
@@ -154,7 +153,9 @@
 		listAccount = NULL;
 
 	if (!gc->wants_to_die) {
-		if (info == NULL) {
+	  gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(list->statusbox), text);
+	  
+	  if (info == NULL) {
 			info = g_new0(GaimAutoRecon, 1);
 			g_hash_table_insert(hash, account, info);
 			info->delay = INITIAL_RECON_DELAY;