changeset 11406:e1507691f5b3

[gaim-migrate @ 13641] sf patch #1277751, from Peter McCurdy (cpirate) RFE #1053452 - show file transfer speed after completion committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 01 Sep 2005 03:46:18 +0000
parents a6d446cf090f
children f9c74bf11ae0
files src/gtkft.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkft.c	Thu Sep 01 03:32:52 2005 +0000
+++ b/src/gtkft.c	Thu Sep 01 03:46:18 2005 +0000
@@ -135,10 +135,7 @@
 	kbps    = (elapsed > 0 ? (kb_sent / elapsed) : 0);
 
 	if (kbsec != NULL) {
-		if (gaim_xfer_is_completed(xfer))
-			*kbsec = g_strdup("");
-		else
-			*kbsec = g_strdup_printf(_("%.2f KB/s"), kbps);
+		*kbsec = g_strdup_printf(_("%.2f KB/s"), kbps);
 	}
 
 	if (time_elapsed != NULL) {