Index: embed/mozilla/GlobalHistory.cpp
===================================================================
RCS file: /cvs/gnome/epiphany/embed/mozilla/GlobalHistory.cpp,v
retrieving revision 1.16.4.2
diff -u -p -r1.16.4.2 GlobalHistory.cpp
--- embed/mozilla/GlobalHistory.cpp	10 Jun 2004 16:41:45 -0000	1.16.4.2
+++ embed/mozilla/GlobalHistory.cpp	15 Jun 2004 14:14:01 -0000
@@ -131,9 +133,24 @@ NS_IMETHODIMP MozGlobalHistory::SetPageT
 }
 
 /* void hidePage (in nsIURI url); */
-NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *url)
+NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *aURI)
 {
-	return NS_ERROR_NOT_IMPLEMENTED;
+        NS_ENSURE_ARG (aURI);
+
+	nsresult rv;
+        nsCAutoString spec;
+        rv = aURI->GetSpec(spec);
+	NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);
+
+	EphyNode *page;
+	page = ephy_history_get_page (mGlobalHistory, spec.get());
+
+	if (page)
+	{
+		ephy_node_unref (page);
+	}
+
+	return NS_OK;
 }
 
 #else
@@ -166,10 +188,19 @@ NS_IMETHODIMP MozGlobalHistory::SetPageT
 	return NS_OK;
 }
 
-NS_IMETHODIMP MozGlobalHistory::HidePage(const char *url)
+NS_IMETHODIMP MozGlobalHistory::HidePage(const char *aURL)
 {
-	return NS_ERROR_NOT_IMPLEMENTED;
+        NS_ENSURE_ARG (aURL);
+
+        EphyNode *page;
+        page = ephy_history_get_page (mGlobalHistory, aURL);
+
+        if (page)
+        {
+                ephy_node_unref (page);
+        }
 
+        return NS_OK;
 }
 #endif /* MOZILLA_SNAPSHOT > 13 */
 
