aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozDownload.cpp14
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 102d134ed..d7285cbce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-08 Christian Persch <chpe@svn.gnome.org>
+
+ * embed/mozilla/MozDownload.cpp:
+
+ Guess what? Another mozilla API change!
+
2007-02-07 Christian Persch <chpe@svn.gnome.org>
* data/default-prefs-common.js:
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index bf1a1c28f..31cdb99dc 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -444,6 +444,20 @@ MozDownload::OnProgressChange64 (nsIWebProgress *aWebProgress,
return NS_OK;
}
+#ifdef HAVE_GECKO_1_9
+/* boolean onRefreshAttempted (in nsIWebProgress aWebProgress, in nsIURI aRefreshURI, in long aDelay, in boolean aSameURI); */
+NS_IMETHODIMP
+MozDownload::OnRefreshAttempted(nsIWebProgress *aWebProgress,
+ nsIURI *aUri,
+ PRInt32 aDelay,
+ PRBool aSameUri,
+ PRBool *allowRefresh)
+{
+ *allowRefresh = PR_TRUE;
+ return NS_OK;
+}
+#endif
+
NS_IMETHODIMP
MozDownload::OnLocationChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location)
{