Mercurial > pidgin
comparison plugins/gaim-remote/remote.c @ 10401:3e4ecbdf8d0a
[gaim-migrate @ 11638]
Stuff compiles again, if that's what you wanted stuff to do. It works a bit
too. I fixed one crash in oscar, only to reveal another that I didnn't fix
(tooltips).
Most protocols still need updating to actually log in in the specified state,
TCL needs some love for gaim_account_connect, perl probably does too but that
needs more love anyway. The reconnect plugin could be more intelligent too, as
could gaim-remote.
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Tue, 21 Dec 2004 01:48:30 +0000 |
| parents | b4b9dabdd7c7 |
| children | f7b32dd67bdf |
comparison
equal
deleted
inserted
replaced
| 10400:6a043ae92db6 | 10401:3e4ecbdf8d0a |
|---|---|
| 390 if (!data) | 390 if (!data) |
| 391 return; | 391 return; |
| 392 memcpy(&id, data, sizeof(id)); | 392 memcpy(&id, data, sizeof(id)); |
| 393 account = g_list_nth_data(gaim_accounts_get_all(), id); | 393 account = g_list_nth_data(gaim_accounts_get_all(), id); |
| 394 if (account) | 394 if (account) |
| 395 gaim_account_connect(account); | 395 /* XXX: someone might want to extend this to allow connecting with a different status */ |
| 396 gaim_account_connect(account, gaim_account_get_status(account, "online")); | |
| 396 /* don't need to do anything here because the UI will get updates from other handlers */ | 397 /* don't need to do anything here because the UI will get updates from other handlers */ |
| 397 break; | 398 break; |
| 398 | 399 |
| 399 #if 0 /* STATUS */ | 400 #if 0 /* STATUS */ |
| 400 case CUI_USER_AWAY: | 401 case CUI_USER_AWAY: |
