From 24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:24:02 +0000 Subject: Simplify condition svn path=/trunk/; revision=1895 --- src/empathy-ft-manager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c index d6383e640..b5a4d3c16 100644 --- a/src/empathy-ft-manager.c +++ b/src/empathy-ft-manager.c @@ -259,9 +259,7 @@ ft_manager_update_ft_row (EmpathyFTManager *ft_manager, first_line = g_strdup_printf (first_line_format, filename, contact_name); - if (state == EMP_FILE_TRANSFER_STATE_OPEN - || (incoming && state == EMP_FILE_TRANSFER_STATE_ACCEPTED) - || (incoming && state == EMP_FILE_TRANSFER_STATE_PENDING)) + if (state == EMP_FILE_TRANSFER_STATE_OPEN || incoming) { gchar *total_size_str; gchar *transferred_bytes_str; -- cgit v1.2.3