diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-02-18 18:49:02 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:46:06 +0800 |
commit | 0b8cc28c3452e43672905553aaf006c178587605 (patch) | |
tree | 74cda02166aa97e1658bc8afb90f47ba708d6801 | |
parent | 4c8eb38a82759926b11ce0454c33a127037d3ba7 (diff) | |
download | gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar.gz gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar.bz2 gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar.lz gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar.xz gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.tar.zst gsoc2013-empathy-0b8cc28c3452e43672905553aaf006c178587605.zip |
Emit the transfer_started signal as soon as we start an incoming transfer.
-rw-r--r-- | libempathy/empathy-ft-handler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 1e17cb00b..d1909c15c 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -898,6 +898,11 @@ empathy_ft_handler_start_transfer (EmpathyFTHandler *handler, } else { + /* emit the start signal now, so that we can catch errors in the + * op callback. + */ + g_signal_emit (handler, signals[TRANSFER_STARTED], 0, priv->tpfile); + /* TODO: add support for resume. */ empathy_tp_file_accept (priv->tpfile, 0, priv->gfile, priv->cancellable, ft_transfer_progress_callback, handler, |