Mercurial > pidgin.yaz
diff src/gtkaccount.c @ 10720:0e017707532f
[gaim-migrate @ 12318]
We can now sign on and off and on and off accounts all the live long
day using the "enabled" button in the accounts window
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 24 Mar 2005 04:36:09 +0000 |
parents | ad57a8b5495e |
children | 9c52a83fc3ac |
line wrap: on
line diff
--- a/src/gtkaccount.c Thu Mar 24 04:35:06 2005 +0000 +++ b/src/gtkaccount.c Thu Mar 24 04:36:09 2005 +0000 @@ -1357,7 +1357,6 @@ dialog->account = gaim_account_new(screenname, dialog->protocol_id); gaim_account_set_enabled(dialog->account, GAIM_GTK_UI, TRUE); - } else { @@ -2042,7 +2041,7 @@ COLUMN_ENABLED, &enabled, -1); if (enabled) { - gaim_account_disconnect(account); + gaim_account_set_status(account, "offline", TRUE, NULL); } else { GaimGtkBuddyList *gtkblist; const char *type;