Mercurial > pidgin.yaz
comparison pidgin/gtkconn.c @ 24136:975efd786eb3
Use purple_connection_error_reason() when network disconnections are
detected, so the subsequent reconnection can use the password if available.
Hopefully fixes Fedora bug 453293
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 29 Sep 2008 01:22:39 +0000 |
parents | a85fcc0c0248 |
children | 785db7300ef2 |
comparison
equal
deleted
inserted
replaced
24135:e9094d59a4c2 | 24136:975efd786eb3 |
---|---|
206 | 206 |
207 l = list = purple_accounts_get_all_active(); | 207 l = list = purple_accounts_get_all_active(); |
208 while (l) { | 208 while (l) { |
209 PurpleAccount *a = (PurpleAccount*)l->data; | 209 PurpleAccount *a = (PurpleAccount*)l->data; |
210 if (!purple_account_is_disconnected(a)) { | 210 if (!purple_account_is_disconnected(a)) { |
211 purple_account_disconnect(a); | 211 purple_connection_error_reason(purple_account_get_connection(a), |
212 PURPLE_CONNECTION_ERROR_NETWORK_ERROR, | |
213 _("Network disconnected")); | |
212 } | 214 } |
213 l = l->next; | 215 l = l->next; |
214 } | 216 } |
215 g_list_free(list); | 217 g_list_free(list); |
216 } | 218 } |