diff options
-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) |