use new time str function to more accurately approximate file move/copy operation ETA

ticket #1178


SVN revision: 73977
This commit is contained in:
Mike Blumenkrantz 2012-07-17 12:10:49 +00:00
parent e0a8fffedf
commit 9dd77930ef
1 changed files with 2 additions and 2 deletions

View File

@ -2449,14 +2449,14 @@ _e_fwin_op_registry_listener_cb(void *data,
if (ere->finished)
snprintf(buf, sizeof(buf), _("Copy of %s done"), total);
else
snprintf(buf, sizeof(buf), _("Copying %s (eta: %d s)"), total, ere->eta);
snprintf(buf, sizeof(buf), _("Copying %s (eta: %s)"), total, e_util_time_str_get(ere->eta));
break;
case E_FM_OP_MOVE:
if (ere->finished)
snprintf(buf, sizeof(buf), _("Move of %s done"), total);
else
snprintf(buf, sizeof(buf), _("Moving %s (eta: %d s)"), total, ere->eta);
snprintf(buf, sizeof(buf), _("Moving %s (eta: %s)"), total, e_util_time_str_get(ere->eta));
break;
case E_FM_OP_REMOVE: