# HG changeset patch # User Will Thompson # Date 1193532405 0 # Node ID 0aa18e21a595c7592c4d6596603e23e48707ace6 # Parent 318b3f5d151613e83d60449132b5cf5048d68ce1 Connect to connection-error in account.c so that the account error is actually updated and account-error-changed is actually fired. diff -r 318b3f5d1516 -r 0aa18e21a595 libpurple/account.c --- a/libpurple/account.c Sat Oct 27 17:45:05 2007 +0000 +++ b/libpurple/account.c Sun Oct 28 00:46:45 2007 +0000 @@ -2588,6 +2588,8 @@ purple_signal_connect(conn_handle, "signed-on", handle, PURPLE_CALLBACK(signed_on_cb), NULL); + purple_signal_connect(conn_handle, "connection-error", handle, + PURPLE_CALLBACK(connection_error_cb), NULL); load_accounts(); diff -r 318b3f5d1516 -r 0aa18e21a595 libpurple/core.c --- a/libpurple/core.c Sat Oct 27 17:45:05 2007 +0000 +++ b/libpurple/core.c Sun Oct 28 00:46:45 2007 +0000 @@ -138,15 +138,17 @@ /* The buddy icon code uses the imgstore, so init it early. */ purple_imgstore_init(); - /* Accounts use status and buddy icons, so initialize these before accounts */ + /* Accounts use status, buddy icons and connection signals, so + * initialize these before accounts + */ purple_status_init(); purple_buddy_icons_init(); + purple_connections_init(); purple_accounts_init(); purple_savedstatuses_init(); purple_notify_init(); purple_certificate_init(); - purple_connections_init(); purple_conversations_init(); purple_blist_init(); purple_log_init();