Mercurial > pidgin.yaz
comparison src/gtkconn.c @ 10738:55af3fa46329
[gaim-migrate @ 12340]
Lots of changes here. A lot of it stems from chaning
gaim_account_connect() so that it DOES NOT have the GaimStatus
parameter. It will attempt to use the GaimStatus of your
account from the last time it was connected (which doesn't
work quite right yet).
My goal here was to save and load each account's GaimStatuses
to accounts.xml, so if you were "away" when you signed off then
you'll be "away" when you sign back on. Not quite there yet.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Mar 2005 20:08:43 +0000 |
parents | 868aafbe859b |
children | fa06fda62868 |
comparison
equal
deleted
inserted
replaced
10737:b7f0bc436179 | 10738:55af3fa46329 |
---|---|
220 | 220 |
221 /* reconnect disconnected accounts */ | 221 /* reconnect disconnected accounts */ |
222 l_accts_iter = l_accts; | 222 l_accts_iter = l_accts; |
223 while (l_accts_iter != NULL) { | 223 while (l_accts_iter != NULL) { |
224 account = l_accts_iter->data; | 224 account = l_accts_iter->data; |
225 gaim_account_connect(account, gaim_account_get_status(account, "online")); | 225 gaim_account_connect(account); |
226 l_accts_iter = l_accts_iter->next; | 226 l_accts_iter = l_accts_iter->next; |
227 } | 227 } |
228 g_list_free(l_accts); | 228 g_list_free(l_accts); |
229 | 229 |
230 } | 230 } |
277 l_del_iter = l_del_iter->next; | 277 l_del_iter = l_del_iter->next; |
278 } | 278 } |
279 g_list_free(l_del); | 279 g_list_free(l_del); |
280 } | 280 } |
281 | 281 |
282 gaim_account_connect(account, gaim_account_get_status(account, "online")); | 282 gaim_account_connect(account); |
283 disconnect_window_update_buttons(model); | 283 disconnect_window_update_buttons(model); |
284 | 284 |
285 break; | 285 break; |
286 | 286 |
287 case GTK_RESPONSE_DELETE_EVENT: | 287 case GTK_RESPONSE_DELETE_EVENT: |