diff options
author | Rob Clews <rjc@intercellsolutions.com> | 2003-01-17 05:17:02 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-17 05:17:02 +0800 |
commit | 1a2f5add8233f90f93082cc9983452ebfb8fbe15 (patch) | |
tree | be2375db6661bbfa9dbb63707bf02fb7432d7871 | |
parent | 36ca5b730350be39e5befc6a4aab9edcf659d387 (diff) | |
download | gsoc2013-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
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | embed/downloader-view.c | 5 | ||||
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 9 |
3 files changed, 21 insertions, 1 deletions
@@ -1,3 +1,11 @@ +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 + 2003-01-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/FilePicker.cpp: 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, diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index a559dbc10..054b7a5df 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -149,6 +149,15 @@ NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(const char *url) return NS_ERROR_NOT_IMPLEMENTED; } +/* Described by mozilla.org as a temporary ugly hack. We will never need to + * implement it. It is here to allow compilation. + */ +/* void outputReferrerURL (in string aURL, in string aReferrer); */ +NS_IMETHODIMP MozGlobalHistory::OutputReferrerURL(const char *aURL, const char *aReferrer) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} + NS_DEF_FACTORY (MozGlobalHistory, MozGlobalHistory); nsresult NS_NewGlobalHistoryFactory(nsIFactory** aFactory) |