From 78da65e315fb894b501882fc6d0c360b9c5df596 Mon Sep 17 00:00:00 2001 From: Aris-t2 Date: Sun, 9 Oct 2016 17:32:27 +0200 Subject: 1.5.8beta10 [locale(s)] - Polish (pl-PL) translation updated (thanks to Mrere) [fix(es)] - last betas broke Firefox 45.x support (Fx48+ was fine) [general change(s)] - increased delays maximum value to 999999 (ms) for the options: -- Searchbar > Clear search box after search -- Searchbar > Revert to first search engine after search --- xpi/content/options.xul | 4 ++-- xpi/content/overlay.js | 29 +++++++++++++++++++---------- xpi/install.rdf | 2 +- xpi/locale/pl/options.dtd | 4 ++-- 4 files changed, 24 insertions(+), 15 deletions(-) (limited to 'xpi') diff --git a/xpi/content/options.xul b/xpi/content/options.xul index 8dc68fa..6ef0733 100644 --- a/xpi/content/options.xul +++ b/xpi/content/options.xul @@ -1287,12 +1287,12 @@ - + &Ctr_nbisizedelay; &Ctr_ctrosearchdel; - + &Ctr_nbisizedelay; &Ctr_ctrosearchdel; diff --git a/xpi/content/overlay.js b/xpi/content/overlay.js index 3112eb8..8934589 100644 --- a/xpi/content/overlay.js +++ b/xpi/content/overlay.js @@ -3520,17 +3520,26 @@ classicthemerestorerjs.ctr = { document.getElementById("titlebar-content").appendChild(titlebarspacer1); document.getElementById("titlebar-content").appendChild(titlebartitle); - window.addEventListener("load", update_title, false); - window.addEventListener("DOMContentLoaded", update_title, false); - window.addEventListener("TabOpen", update_title, false); - window.addEventListener("TabSelect", update_title, false); - window.addEventListener("TabAttrModified", update_title, false); - - function update_title() { - if (gBrowser.contentTitle=="") - document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); + window.addEventListener("load", function update_title() { + if (gBrowser.contentTitle=="") document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); else document.getElementById("ctraddon_titlebartitle").setAttribute("label", gBrowser.contentTitle); - } + }, false); + window.addEventListener("DOMContentLoaded", function update_title() { + if (gBrowser.contentTitle=="") document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); + else document.getElementById("ctraddon_titlebartitle").setAttribute("label", gBrowser.contentTitle); + }, false); + window.addEventListener("TabOpen", function update_title() { + if (gBrowser.contentTitle=="") document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); + else document.getElementById("ctraddon_titlebartitle").setAttribute("label", gBrowser.contentTitle); + }, false); + window.addEventListener("TabSelect", function update_title() { + if (gBrowser.contentTitle=="") document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); + else document.getElementById("ctraddon_titlebartitle").setAttribute("label", gBrowser.contentTitle); + }, false); + window.addEventListener("TabAttrModified", function update_title() { + if (gBrowser.contentTitle=="") document.getElementById("ctraddon_titlebartitle").setAttribute("label", Services.appinfo.name); + else document.getElementById("ctraddon_titlebartitle").setAttribute("label", gBrowser.contentTitle); + }, false); } catch(e) {} diff --git a/xpi/install.rdf b/xpi/install.rdf index e48e7e5..4534c27 100644 --- a/xpi/install.rdf +++ b/xpi/install.rdf @@ -5,7 +5,7 @@ ClassicThemeRestorer@ArisT2Noia4dev Classic Theme Restorer - 1.5.8beta9 + 1.5.8beta10 2 true diff --git a/xpi/locale/pl/options.dtd b/xpi/locale/pl/options.dtd index cbf88fd..0826293 100644 --- a/xpi/locale/pl/options.dtd +++ b/xpi/locale/pl/options.dtd @@ -15,7 +15,7 @@ - + @@ -173,7 +173,7 @@ - + -- cgit v1.2.3