aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-ft-handler.c5
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,