[empathy: 39/148] Emit the TRANSFER_STARTED signal



commit 74bea808243c98816732864de15a8dfd887d0f22
Author: Cosimo Cecchi <cosimo cecchi collabora co uk>
Date:   Sun May 3 19:19:54 2009 +0200

    Emit the TRANSFER_STARTED signal
    
    Emit the TRANSFER_STARTED signal also when offering.
---
 libempathy/empathy-ft-handler.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 4326ee1..c6babb8 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]