Mercurial > pidgin
diff src/ft.c @ 4656:e557a10a9541
[gaim-migrate @ 4967]
This works pretty reliably between gaim and Winaim. It seems to work
ok between 2 gaim clients. Anyway, I figure this is better than nothing.
Oh, by the way, this is "send file" support for AIM over oscar.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 07 Mar 2003 03:49:48 +0000 |
parents | d19872836812 |
children | 3145c5c45877 |
line wrap: on
line diff
--- a/src/ft.c Thu Mar 06 17:27:17 2003 +0000 +++ b/src/ft.c Fri Mar 07 03:49:48 2003 +0000 @@ -294,10 +294,18 @@ void gaim_xfer_set_completed(struct gaim_xfer *xfer, gboolean completed) { + struct gaim_xfer_ui_ops *ui_ops; + if (xfer == NULL) return; xfer->completed = completed; + + ui_ops = gaim_xfer_get_ui_ops(xfer); + + if (ui_ops != NULL && ui_ops->update_progress != NULL) + ui_ops->update_progress(xfer, gaim_xfer_get_progress(xfer)); + } void