| 82 g_hash_table_remove(hash, account); |
82 g_hash_table_remove(hash, account); |
| 83 |
83 |
| 84 if (g_hash_table_size(errored_accounts) > 0) |
84 if (g_hash_table_size(errored_accounts) > 0) |
| 85 { |
85 { |
| 86 g_hash_table_remove(errored_accounts, account); |
86 g_hash_table_remove(errored_accounts, account); |
| |
87 gaim_gtk_blist_update_account_error_state(account, NULL); |
| 87 if (g_hash_table_size(errored_accounts) == 0) |
88 if (g_hash_table_size(errored_accounts) == 0) |
| 88 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), NULL); |
89 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), NULL); |
| 89 } |
90 } |
| 90 } |
91 } |
| 91 |
92 |
| 153 account = gaim_connection_get_account(gc); |
154 account = gaim_connection_get_account(gc); |
| 154 info = g_hash_table_lookup(hash, account); |
155 info = g_hash_table_lookup(hash, account); |
| 155 errored_account = g_hash_table_lookup(errored_accounts, account); |
156 errored_account = g_hash_table_lookup(errored_accounts, account); |
| 156 |
157 |
| 157 if (!gc->wants_to_die) { |
158 if (!gc->wants_to_die) { |
| |
159 gaim_gtk_blist_update_account_error_state(account, text); |
| 158 if (gtkblist != NULL) |
160 if (gtkblist != NULL) |
| 159 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), text); |
161 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), text); |
| 160 |
162 |
| 161 if (info == NULL) { |
163 if (info == NULL) { |
| 162 info = g_new0(GaimAutoRecon, 1); |
164 info = g_new0(GaimAutoRecon, 1); |
| 230 g_hash_table_remove(hash, account); |
232 g_hash_table_remove(hash, account); |
| 231 |
233 |
| 232 if (g_hash_table_size(errored_accounts) > 0) |
234 if (g_hash_table_size(errored_accounts) > 0) |
| 233 { |
235 { |
| 234 g_hash_table_remove(errored_accounts, account); |
236 g_hash_table_remove(errored_accounts, account); |
| |
237 gaim_gtk_blist_update_account_error_state(account, NULL); |
| 235 if (g_hash_table_size(errored_accounts) == 0) |
238 if (g_hash_table_size(errored_accounts) == 0) |
| 236 { |
239 { |
| 237 GaimGtkBuddyList *gtkblist; |
240 GaimGtkBuddyList *gtkblist; |
| 238 |
241 |
| 239 gtkblist = gaim_gtk_blist_get_default_gtk_blist(); |
242 gtkblist = gaim_gtk_blist_get_default_gtk_blist(); |