# HG changeset patch # User Stu Tomlinson # Date 1222651359 0 # Node ID 975efd786eb3842dd6f4b805d5b6ed267e687135 # Parent e9094d59a4c20b86530ca374d8ee7d9a88293e06 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 diff -r e9094d59a4c2 -r 975efd786eb3 pidgin/gtkconn.c --- a/pidgin/gtkconn.c Mon Sep 29 00:59:53 2008 +0000 +++ b/pidgin/gtkconn.c Mon Sep 29 01:22:39 2008 +0000 @@ -208,7 +208,9 @@ while (l) { PurpleAccount *a = (PurpleAccount*)l->data; if (!purple_account_is_disconnected(a)) { - purple_account_disconnect(a); + purple_connection_error_reason(purple_account_get_connection(a), + PURPLE_CONNECTION_ERROR_NETWORK_ERROR, + _("Network disconnected")); } l = l->next; }