From ed1625139eab107417d964573bdc5cd1243964d9 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:15:21 +0000 Subject: Actually stop a file transfer if in the ft manager when requested. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1761 --- libempathy-gtk/empathy-ft-manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c index bb511cd94..daf38fc88 100644 --- a/libempathy-gtk/empathy-ft-manager.c +++ b/libempathy-gtk/empathy-ft-manager.c @@ -971,8 +971,7 @@ ft_manager_stop (EmpathyFTManager *ft_manager) empathy_contact_get_name (empathy_file_get_contact (file)), empathy_file_get_filename (file)); -/* empathy_file_cancel (ft, EMPATHY_TP_FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_STOPPED);*/ - /* cancel file transfer here */ + empathy_file_cancel (file); g_value_unset (&val); } -- cgit v1.2.3