comparison src/connection.c @ 11562:9f521a61ef58

[gaim-migrate @ 13828] More tiny changes. Forward port my saving password through failed connections change, and attach to the Message Send signal of the statusbox imhtml, so that hitting Enter sets the message immediately. I like the timeout; but this will probably make more sense to most people. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 21 Sep 2005 22:57:10 +0000
parents 18c18cbc0967
children a647f92e1d57
comparison
equal deleted inserted replaced
11561:71945305a87e 11562:9f521a61ef58
431 431
432 gboolean 432 gboolean
433 gaim_connection_disconnect_cb(gpointer data) 433 gaim_connection_disconnect_cb(gpointer data)
434 { 434 {
435 GaimAccount *account = data; 435 GaimAccount *account = data;
436 436 char *password = g_strdup(gaim_account_get_password(account));
437 gaim_account_disconnect(account); 437 gaim_account_disconnect(account);
438 438 gaim_account_set_password(account, password);
439 g_free(password);
439 return FALSE; 440 return FALSE;
440 } 441 }
441 442
442 void 443 void
443 gaim_connection_error(GaimConnection *gc, const char *text) 444 gaim_connection_error(GaimConnection *gc, const char *text)