Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 12143:cbebda5f019c
[gaim-migrate @ 14444]
SF Patch #1360399 from Evan Schoenberg (evands)
"I discussed this previously with Mark and he said it'd be fine.
This factors out the part of the send_file function which creates a new
GaimXfer into a separate prpl function, new_xfer. It's called in each of the
existing send_file functions.
This is needed so that another client (okay, Adium) can get a new
outgoing GaimXfer from a prpl without depending upon the specific ft.c
logic of send_file; previously I was adding a duplicate method to each prpl
and then calling it directly."
I fixed a couple small bugs in this. Otherwise, it looks good, and seems like a reasonable libgaim request.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 19 Nov 2005 00:26:12 +0000 |
parents | 4e729e3d8f0b |
children | cda86ce5b026 |
comparison
equal
deleted
inserted
replaced
12142:0c672be21798 | 12143:cbebda5f019c |
---|---|
3603 yahoo_roomlist_get_list, | 3603 yahoo_roomlist_get_list, |
3604 yahoo_roomlist_cancel, | 3604 yahoo_roomlist_cancel, |
3605 yahoo_roomlist_expand_category, | 3605 yahoo_roomlist_expand_category, |
3606 NULL, /* can_receive_file */ | 3606 NULL, /* can_receive_file */ |
3607 yahoo_send_file, | 3607 yahoo_send_file, |
3608 yahoo_new_xfer, | |
3608 &yahoo_whiteboard_prpl_ops | 3609 &yahoo_whiteboard_prpl_ops |
3609 }; | 3610 }; |
3610 | 3611 |
3611 static GaimPluginInfo info = | 3612 static GaimPluginInfo info = |
3612 { | 3613 { |