[gaim-migrate @ 13824]

Tue, 20 Sep 2005 23:48:20 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Tue, 20 Sep 2005 23:48:20 +0000
changeset 11560
e39a94c883b5
parent 11559
8f56b742b3a7
child 11561
5ee24c739c7e

[gaim-migrate @ 13824]
And don't report those errors in the statusbox

src/gtkconn.c file | annotate | diff | comparison | revisions
--- 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;

mercurial