aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/downloader-view.c5
-rw-r--r--embed/mozilla/GlobalHistory.cpp9
2 files changed, 13 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,
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)