aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorRob Clews <rjc@intercellsolutions.com>2003-01-17 05:17:02 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-17 05:17:02 +0800
commit1a2f5add8233f90f93082cc9983452ebfb8fbe15 (patch)
treebe2375db6661bbfa9dbb63707bf02fb7432d7871 /embed/downloader-view.c
parent36ca5b730350be39e5befc6a4aab9edcf659d387 (diff)
downloadgsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar.gz
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar.bz2
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar.lz
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar.xz
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.tar.zst
gsoc2013-epiphany-1a2f5add8233f90f93082cc9983452ebfb8fbe15.zip
fix incorrect figures on small files
2003-01-16 Rob Clews <rjc@intercellsolutions.com> * embed/downloader-view.c: fix incorrect figures on small files 2003-01-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/FilePicker.cpp: Api change
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index c7cdc2ef6..98868052a 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -511,7 +511,10 @@ downloader_view_set_download_info (DownloaderViewPrivate *priv,
}
else
{
- sprintf (buffer, _("Unknown"));
+ sprintf (buffer,
+ details->progress > 0 ?
+ _("00.00") :
+ _("Unknown"));
}
gtk_list_store_set (GTK_LIST_STORE (priv->model),
iter,