comparison src/gtkaccount.c @ 5855:082982a4acbd

[gaim-migrate @ 6286] ok, this will get rid of the negative group counts for trepia, and also fixes the accounts dialog so signing off of an account leaves it signed off committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 13 Jun 2003 17:55:02 +0000
parents daac2e9a1b0b
children a479e218c54b
comparison
equal deleted inserted replaced
5854:14891982dbee 5855:082982a4acbd
1502 gtk_tree_model_get(model, &iter, 1502 gtk_tree_model_get(model, &iter,
1503 COLUMN_DATA, &account, 1503 COLUMN_DATA, &account,
1504 COLUMN_ONLINE, &online, 1504 COLUMN_ONLINE, &online,
1505 -1); 1505 -1);
1506 1506
1507 if (online) 1507 if (online) {
1508 account->gc->wants_to_die = TRUE;
1508 gaim_account_disconnect(account); 1509 gaim_account_disconnect(account);
1509 else 1510 } else {
1510 gaim_account_connect(account); 1511 gaim_account_connect(account);
1512 }
1511 } 1513 }
1512 1514
1513 static void 1515 static void
1514 autologin_cb(GtkCellRendererToggle *renderer, gchar *path_str, 1516 autologin_cb(GtkCellRendererToggle *renderer, gchar *path_str,
1515 gpointer data) 1517 gpointer data)