From 261b392c59580d2e284f2facdc8704701e36a08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Thu, 19 Dec 2013 07:45:28 -0200 Subject: iceweasel-libre: fix bugs from libre.patch, revert changes on mozconfig --- libre/iceweasel-libre/libre.patch | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'libre/iceweasel-libre/libre.patch') diff --git a/libre/iceweasel-libre/libre.patch b/libre/iceweasel-libre/libre.patch index 744ecaef3..a4eb23831 100644 --- a/libre/iceweasel-libre/libre.patch +++ b/libre/iceweasel-libre/libre.patch @@ -114,7 +114,7 @@ index c270318..8a647c7 100644 #aboutMozilla::before { transform: scale(.5); diff --git a/browser/base/content/abouthome/aboutHome.js b/browser/base/content/abouthome/aboutHome.js -index 432fcdc..bd1692a 100644 +index 432fcdc..0d81017 100644 --- a/browser/base/content/abouthome/aboutHome.js +++ b/browser/base/content/abouthome/aboutHome.js @@ -3,152 +3,44 @@ @@ -312,7 +312,18 @@ index 432fcdc..bd1692a 100644 gInitialized = true; } return; -@@ -181,117 +72,6 @@ window.addEventListener("pagehide", function() { +@@ -170,10 +61,6 @@ window.addEventListener("pageshow", function () { + window.gObserver.observe(document.documentElement, { attributes: true }); + fitToWidth(); + window.addEventListener("resize", fitToWidth); +- +- // Ask chrome to update snippets. +- var event = new CustomEvent("AboutHomeLoad", {bubbles:true}); +- document.dispatchEvent(event); + }); + + window.addEventListener("pagehide", function() { +@@ -181,117 +68,6 @@ window.addEventListener("pagehide", function() { window.removeEventListener("resize", fitToWidth); }); @@ -430,10 +441,19 @@ index 432fcdc..bd1692a 100644 function onSearchSubmit(aEvent) { let searchTerms = document.getElementById("searchText").value; -@@ -350,147 +130,6 @@ function loadSucceeded() - document.dispatchEvent(event); +@@ -341,156 +117,6 @@ function setupSearchEngine() + } +-/** +- * Inform the test harness that we're done loading the page. +- */ +-function loadSucceeded() +-{ +- var event = new CustomEvent("AboutHomeLoadSnippetsSucceeded", {bubbles:true}); +- document.dispatchEvent(event); +-} +- -/** - * Update the local snippets from the remote storage, then show them through - * showSnippets. -- cgit v1.2.3-2-g168b