[empathy: 102/148] Set the completed message anyway



commit 28ca5c25c82b7cb8898d2d967bee88b604c109d4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 18 14:17:28 2009 +0200

    Set the completed message anyway
    
    Set the completed message anyway in the UI, as it's not guaranteed that
    the hashing will take place even if use_hash is TRUE
---
 src/empathy-ft-manager.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 8d10b7d..858b212 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -496,11 +496,9 @@ ft_handler_transfer_done_cb (EmpathyFTHandler *handler,
   if (empathy_ft_handler_is_incoming (handler) &&
       empathy_ft_handler_get_use_hash (handler))
     {
-      /* connect to the signal and return early */
+      /* connect to the signal */
       g_signal_connect (handler, "hashing-started",
           G_CALLBACK (ft_handler_hashing_started_cb), manager);
-
-      return;
     }
 
   do_real_transfer_done (manager, handler);



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