diff options
author | Aris-t2 <aris-addons@gmx.net> | 2016-10-09 17:32:27 +0200 |
---|---|---|
committer | Aris-t2 <aris-addons@gmx.net> | 2016-10-09 17:32:27 +0200 |
commit | 78da65e315fb894b501882fc6d0c360b9c5df596 (patch) | |
tree | 91568832931da51ee5c13a3ac83756a6a32090c9 /xpi | |
parent | 112bc1a7f4a8fa672ea88e9dbcba3c845972f376 (diff) |
1.5.8beta10
<b>[locale(s)]</b>
- Polish (pl-PL) translation updated (thanks to Mrere)
<b>[fix(es)]</b>
- last betas broke Firefox 45.x support (Fx48+ was fine)
<b>[general change(s)]</b>
- increased delays maximum value to 999999 (ms) for the options:
-- Searchbar > Clear search box after search
-- Searchbar > Revert to first search engine after search
Diffstat (limited to 'xpi')
-rw-r--r-- | xpi/content/options.xul | 4 | ||||
-rw-r--r-- | xpi/content/overlay.js | 29 | ||||
-rw-r--r-- | xpi/install.rdf | 2 | ||||
-rw-r--r-- | xpi/locale/pl/options.dtd | 4 |
4 files changed, 24 insertions, 15 deletions
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 @@ <checkbox label="&Ctr_osearch_dm;" preference="ctraddon_osearch_dm" id="ctraddon_pw_osearch_dm" class="ctraddon_winmaconly"/> <checkbox label="&Ctr_ctroldsearchc;" preference="ctraddon_ctroldsearchc" id="ctraddon_pw_ctroldsearchc"/> <hbox align="center" class="ctraddonsuboption"> - <textbox id="ctraddon_pw_ctroldsearchcdelay" size="5" maxlength="5" preference="ctraddon_ctrosearchct" type="number" min="0" max="99999"/> + <textbox id="ctraddon_pw_ctroldsearchcdelay" size="6" maxlength="6" preference="ctraddon_ctrosearchct" type="number" min="0" max="999999"/> <description>&Ctr_nbisizedelay; &Ctr_ctrosearchdel;</description> </hbox> <checkbox label="&Ctr_ctroldsearchr;" preference="ctraddon_ctroldsearchr" id="ctraddon_pw_ctroldsearchr"/> <hbox align="center" class="ctraddonsuboption"> - <textbox id="ctraddon_pw_ctroldsearchrdelay" size="5" maxlength="5" preference="ctraddon_ctrosearchrt" type="number" min="0" max="99999"/> + <textbox id="ctraddon_pw_ctroldsearchrdelay" size="6" maxlength="6" preference="ctraddon_ctrosearchrt" type="number" min="0" max="999999"/> <description>&Ctr_nbisizedelay; &Ctr_ctrosearchdel;</description> </hbox> <checkbox label="&Ctr_osearch_meoit;" preference="ctraddon_osearch_meoit" id="ctraddon_pw_osearch_meoit"/> 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 @@ <Description rdf:about="urn:mozilla:install-manifest"> <em:id>ClassicThemeRestorer@ArisT2Noia4dev</em:id> <em:name>Classic Theme Restorer</em:name> - <em:version>1.5.8beta9</em:version> + <em:version>1.5.8beta10</em:version> <em:type>2</em:type> <em:multiprocessCompatible>true</em:multiprocessCompatible> 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 @@ <!ENTITY Ctr_windowcontrols "Minimalizuj, Maksymalizuj, Zamknij (pełny ekran)"> <!ENTITY Ctr_rr "Wymagany restart!"> <!ENTITY Ctr_window "okno"> -<!ENTITY Ctr_centered "Centered"> +<!ENTITY Ctr_centered "Wyśrodkowany"> <!ENTITY Ctr_cuibuttons "Przyciski"> <!ENTITY Ctr_cuibutnormal "Normalne"> @@ -173,7 +173,7 @@ <!ENTITY Ctr_ctroldsearch "Stara wyszukiwarka"> <!ENTITY Ctr_ctroldsearchc "Czyść pole wyszukiwania po wyszukaniu"> <!ENTITY Ctr_ctroldsearchr "Przywracaj pierwszą wyszukiwarkę na liście po wyszukaniu"> -<!ENTITY Ctr_ctrosearchdel "delay"> +<!ENTITY Ctr_ctrosearchdel "opóźnienia"> <!ENTITY Ctr_search_oit "Otwórz wyszukiwanie w nowej karcie"> <!ENTITY Ctr_osearch_meoit "Kliknięcia środkowym przyciskiem: wyszukaj w nowej 'karcie pierwszoplanowej'"> <!ENTITY Ctr_osearch_iwidth "Automatycznie dostosuj szerokość menu podręcznego"> |