Mercurial > pidgin
comparison src/account.c @ 10052:eaec201b2688
[gaim-migrate @ 11013]
More rockin status stuff from Dave West!
Things are beginning to shape up quite well.
Dave, again, sorry it took me a week to get to this. Girl waits for no man.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 19 Sep 2004 21:19:55 +0000 |
parents | a38881ec9c0f |
children | 39142bdd5ba6 |
comparison
equal
deleted
inserted
replaced
10051:0810288958ad | 10052:eaec201b2688 |
---|---|
150 account->system_log = NULL; | 150 account->system_log = NULL; |
151 | 151 |
152 account->presence = gaim_presence_new_for_account(account); | 152 account->presence = gaim_presence_new_for_account(account); |
153 | 153 |
154 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); | 154 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); |
155 | 155 |
156 if (prpl == NULL) | 156 if (prpl == NULL) |
157 return account; | 157 return account; |
158 | 158 |
159 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); | 159 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); |
160 if ( prpl_info != NULL && prpl_info->status_types != NULL ) | 160 if ( prpl_info != NULL && prpl_info->status_types != NULL ) |
161 gaim_account_set_status_types(account, prpl_info->status_types(account)); | 161 gaim_account_set_status_types(account, prpl_info->status_types(account)); |
162 | |
163 gaim_presence_set_status_active(account->presence, "offline", TRUE); | |
162 | 164 |
163 return account; | 165 return account; |
164 } | 166 } |
165 | 167 |
166 void | 168 void |