forked from enlightenment/enlightenment
use new time str function to more accurately approximate file move/copy operation ETA
ticket #1178 SVN revision: 73977
This commit is contained in:
parent
e0a8fffedf
commit
9dd77930ef
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue