# HG changeset patch # User Richard Laager # Date 1131318116 0 # Node ID 9dd895fdafddb4fd31328c4a3cb9f0cc83c75156 # Parent aa77da6c7f21cc44f0edd60c233bc9879893fbb2 [gaim-migrate @ 14287] SF Patch #1349218 from Richard Gobeille "This patch changes the string representing transfer progress in the GTK file transfer window to something a bit more user friendly." Basically, it shows a percentage in addition to the byte count. committer: Tailor Script diff -r aa77da6c7f21 -r 9dd895fdafdd src/gtkft.c --- a/src/gtkft.c Sun Nov 06 22:53:21 2005 +0000 +++ b/src/gtkft.c Sun Nov 06 23:01:56 2005 +0000 @@ -194,7 +194,8 @@ get_xfer_info_strings(xfer, &kbsec, &time_elapsed, &time_remaining); - status = g_strdup_printf("%ld of %ld", + status = g_strdup_printf("%ld%% (%ld of %ld bytes)", + (unsigned long)(gaim_xfer_get_progress(xfer)*100), (unsigned long)gaim_xfer_get_bytes_sent(xfer), (unsigned long)gaim_xfer_get_size(xfer));