Mercurial > pidgin.yaz
comparison src/protocols/silc/silc.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 | 5d9a74c47108 |
children | 4e46eeec4ace |
comparison
equal
deleted
inserted
replaced
12142:0c672be21798 | 12143:cbebda5f019c |
---|---|
1555 silcgaim_roomlist_get_list, /* roomlist_get_list */ | 1555 silcgaim_roomlist_get_list, /* roomlist_get_list */ |
1556 silcgaim_roomlist_cancel, /* roomlist_cancel */ | 1556 silcgaim_roomlist_cancel, /* roomlist_cancel */ |
1557 NULL, /* roomlist_expand_category */ | 1557 NULL, /* roomlist_expand_category */ |
1558 NULL, /* can_receive_file */ | 1558 NULL, /* can_receive_file */ |
1559 silcgaim_ftp_send_file, /* send_file */ | 1559 silcgaim_ftp_send_file, /* send_file */ |
1560 &silcgaim_wb_ops, /* whiteboard operations */ | 1560 silcgaim_ftp_send_file, /* send_file */ |
1561 silcgaim_ftp_new_xfer, /* new_xfer */ | |
1562 &silcgaim_wb_ops, /* whiteboard operations */ | |
1561 }; | 1563 }; |
1562 | 1564 |
1563 static GaimPluginInfo info = | 1565 static GaimPluginInfo info = |
1564 { | 1566 { |
1565 GAIM_PLUGIN_MAGIC, | 1567 GAIM_PLUGIN_MAGIC, |