Mercurial > pidgin.yaz
comparison src/protocols/toc/toc.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 | fa742ad8068c |
children | 4d3119205a33 |
comparison
equal
deleted
inserted
replaced
12142:0c672be21798 | 12143:cbebda5f019c |
---|---|
2293 NULL, /* find_blist_chat */ | 2293 NULL, /* find_blist_chat */ |
2294 NULL, /* roomlist_get_list */ | 2294 NULL, /* roomlist_get_list */ |
2295 NULL, /* roomlist_cancel */ | 2295 NULL, /* roomlist_cancel */ |
2296 NULL, /* roomlist_expand_category */ | 2296 NULL, /* roomlist_expand_category */ |
2297 NULL, /* can_receive_file */ | 2297 NULL, /* can_receive_file */ |
2298 NULL /* send_file */ | 2298 NULL, /* send_file */ |
2299 NULL /* new_xfer */ | |
2299 }; | 2300 }; |
2300 | 2301 |
2301 static GaimPluginInfo info = | 2302 static GaimPluginInfo info = |
2302 { | 2303 { |
2303 GAIM_PLUGIN_MAGIC, | 2304 GAIM_PLUGIN_MAGIC, |