aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:02 +0800
commit24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90 (patch)
tree35f210889840d0ba5e583cf1518d435731bfada5 /src
parente34269ecb0c8f83c03106876171124baacb6b0e8 (diff)
downloadgsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar.gz
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar.bz2
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar.lz
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar.xz
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.tar.zst
gsoc2013-empathy-24b4e1ff549eb3f2b713c7913a9fdabba3a9ce90.zip
Simplify condition
svn path=/trunk/; revision=1895
Diffstat (limited to 'src')
-rw-r--r--src/empathy-ft-manager.c4
1 files changed, 1 insertions, 3 deletions
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;