]> git.0d.be Git - empathy.git/commitdiff
Emit the TRANSFER_STARTED signal
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>
Sun, 3 May 2009 17:19:54 +0000 (19:19 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 15:47:37 +0000 (17:47 +0200)
Emit the TRANSFER_STARTED signal also when offering.

libempathy/empathy-ft-handler.c

index 4326ee1308a4a48a97de8768b55a93e649f68605..c6babb82003cedab35200a180d3cb5c96ff65f61 100644 (file)
@@ -409,6 +409,9 @@ ft_handler_create_channel_cb (EmpathyDispatchOperation *operation,
 
   priv->tpfile = g_object_ref
       (empathy_dispatch_operation_get_channel_wrapper (operation));
+
+  g_signal_emit (handler, signals[TRANSFER_STARTED], 0, priv->tpfile);
+
   empathy_tp_file_offer (priv->tpfile, priv->gfile, priv->cancellable,
       ft_transfer_progress_callback, handler,
       ft_transfer_operation_callback, handler);