Mercurial > pidgin.yaz
changeset 13024:01e09b601840
[gaim-migrate @ 15377]
Implement gaim -n correctly
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 24 Jan 2006 00:56:13 +0000 |
parents | e8adf8183cf4 |
children | 7d39e6c73dc3 |
files | src/gtkmain.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkmain.c Mon Jan 23 23:16:31 2006 +0000 +++ b/src/gtkmain.c Tue Jan 24 00:56:13 2006 +0000 @@ -719,11 +719,8 @@ { /* Set all accounts to "offline" */ GaimSavedStatus *saved_status; - saved_status = gaim_savedstatus_find(_("Default")); - if (saved_status == NULL) - saved_status = gaim_savedstatus_new(_("Default"), GAIM_STATUS_OFFLINE); - else - gaim_savedstatus_set_type(saved_status, GAIM_STATUS_OFFLINE); + saved_status = gaim_savedstatus_get_current(); + gaim_savedstatus_set_type(saved_status, GAIM_STATUS_OFFLINE); gaim_savedstatus_activate(saved_status); } else