diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-19 07:45:28 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-19 07:45:28 -0200 |
commit | 261b392c59580d2e284f2facdc8704701e36a08d (patch) | |
tree | 41aea9d96c33928c905de1e7613251b1f490be07 /libre/iceweasel-libre/libre.patch | |
parent | e152b295c90812c5724fca1a2620175340affd9e (diff) |
iceweasel-libre: fix bugs from libre.patch, revert changes on mozconfig
Diffstat (limited to 'libre/iceweasel-libre/libre.patch')
-rw-r--r-- | libre/iceweasel-libre/libre.patch | 28 |
1 files changed, 24 insertions, 4 deletions
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,11 +441,20 @@ 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. - */ |