aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-22 08:37:32 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-22 08:37:32 +0800
commitaf0eb5ea01a68ca0efdc2efba245157571e671fd (patch)
treef3369b78a159a35a4be68be5ed31e048a32fa7e5
parent2eb4aa3ecbad3c8fe62bd61fc85cd6626877361c (diff)
downloadgsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar.gz
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar.bz2
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar.lz
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar.xz
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.tar.zst
gsoc2013-epiphany-af0eb5ea01a68ca0efdc2efba245157571e671fd.zip
Pass elapsed times in seconds, more consistent and avoid overflow.
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_update_details): * embed/mozilla/ProgressListener.cpp: Pass elapsed times in seconds, more consistent and avoid overflow.
-rw-r--r--ChangeLog8
-rw-r--r--embed/downloader-view.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 93dd8d43b..aec660b94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
+ * embed/downloader-view.c: (downloader_view_update_details):
+ * embed/mozilla/ProgressListener.cpp:
+
+ Pass elapsed times in seconds, more consistent and avoid
+ overflow.
+
+2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
+
* src/ephy-tab.c: (ensure_page_info), (ephy_tab_net_state_cb),
(ephy_tab_init):
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index c9d0af9ab..adc3b210a 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -410,7 +410,7 @@ downloader_view_update_details (DownloaderViewPrivate *priv,
gtk_label_set_text (GTK_LABEL (priv->details_status),
buffer);
- format_time (buffer, details->elapsed/1000000);
+ format_time (buffer, details->elapsed);
gtk_label_set_text (GTK_LABEL (priv->details_elapsed),
buffer);