summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2004-08-12 13:05:29 +0000
committerAlexander Larsson <alexl@src.gnome.org>2004-08-12 13:05:29 +0000
commitf1d6fd50039a3b73f4a214f87e5f1b24f5b57035 (patch)
tree7691be218ec6e8a23105c7e5b3dd46ab956c1206 /libnautilus-private
parente4305673cbb99532436e84ad9c1e4a415f8a352e (diff)
downloadnautilus-f1d6fd50039a3b73f4a214f87e5f1b24f5b57035.tar.gz
Fix time reporting. Patch by baris@teamforce.name.tr (Baris Cicek)
2004-08-12 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations-progress.c: (time_remaining_callback): Fix time reporting. Patch by baris@teamforce.name.tr (Baris Cicek)
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-file-operations-progress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-operations-progress.c b/libnautilus-private/nautilus-file-operations-progress.c
index 2bb59920d..393999d3c 100644
--- a/libnautilus-private/nautilus-file-operations-progress.c
+++ b/libnautilus-private/nautilus-file-operations-progress.c
@@ -393,7 +393,8 @@ time_remaining_callback (gpointer callback_data)
if (time_remaining >= 3600) {
str = g_strdup_printf (_("(%d:%02d:%d Remaining)"),
- time_remaining / 3600, time_remaining / 60, time_remaining % 60);
+ time_remaining / 3600, (time_remaining % 3600) / 60, (time_remaining % 3600) % 60);
+
}
else {
str = g_strdup_printf (_("(%d:%02d Remaining)"),