Skip to content

Commit

Permalink
New: Allow hiding of about:home apps bar
Browse files Browse the repository at this point in the history
  • Loading branch information
InternalError503 committed Jan 5, 2017
1 parent 2233e62 commit b249430
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CTR@8pecxstudios.com/content/css/cctr/abouthomenoappsbar.css
@@ -0,0 +1,6 @@
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("about:home") {
#launcher {
display: none!important;
}
}
2 changes: 2 additions & 0 deletions CTR@8pecxstudios.com/content/options.xul
Expand Up @@ -383,6 +383,7 @@
<preference id="ctraddon_cbookmarkfontsize" name="extensions.classicthemerestorer.cbookmarkfontsize" type="int" instantApply="true"/>
<preference id="ctraddon_ctabouthome" name="extensions.classicthemerestorer.abouthome" type="string" instantApply="true"/>
<preference id="ctraddon_ctabouthomenobar" name="extensions.classicthemerestorer.abouthomenobar" type="bool" instantApply="true"/>
<preference id="ctraddon_ctabouthomenoappsbar" name="extensions.classicthemerestorer.abouthomenoappsbar" type="bool" instantApply="true"/>
<preference id="ctraddon_ctabouthomenologo" name="extensions.classicthemerestorer.abouthomenologo" type="bool" instantApply="true"/>
<preference id="ctraddon_ctabouthomenoicons" name="extensions.classicthemerestorer.abouthomenoicons" type="bool" instantApply="true"/>
<preference id="ctraddon_ctabouthomenosnippets" name="extensions.classicthemerestorer.abouthomenosnippets" type="bool" instantApply="true"/>
Expand Down Expand Up @@ -1250,6 +1251,7 @@
</menupopup>
</menulist>
<checkbox label="&ctr_abouthome.links;" preference="ctraddon_ctabouthomenobar" id="nolinks"/>
<checkbox label="&ctr_abouthome.apps;" preference="ctraddon_ctabouthomenoappsbar" id="noapps"/>
<checkbox label="&ctr_abouthome.logo;" preference="ctraddon_ctabouthomenologo"/>
<checkbox label="&ctr_abouthome.icons;" preference="ctraddon_ctabouthomenoicons" id="noicons"/>
<checkbox label="&ctr_abouthome.snippets;" preference="ctraddon_ctabouthomenosnippets" id="nosnippets"/>
Expand Down
8 changes: 7 additions & 1 deletion CTR@8pecxstudios.com/content/overlay.js
Expand Up @@ -467,6 +467,11 @@ classicthemerestorerjs.ctr = {
classicthemerestorerjs.ctr.loadUnloadCSS('abouthomenobar', branch.getBoolPref("abouthomenobar"));
break;

//No apps on about:home page.
case "abouthomenoappsbar":
classicthemerestorerjs.ctr.loadUnloadCSS('abouthomenoappsbar', branch.getBoolPref("abouthomenoappsbar"));
break;

//No logo on about:home page
case "abouthomenologo":
classicthemerestorerjs.ctr.loadUnloadCSS('abouthomenologo', branch.getBoolPref("abouthomenologo"));
Expand Down Expand Up @@ -4851,7 +4856,8 @@ classicthemerestorerjs.ctr = {
case "abouthomesimplicitygreen": manageCSS("cctr/abouthomesimplicitylinux.css"); break;
case "abouthomesimplicityyellow": manageCSS("cctr/abouthomesimplicitybeta.css"); break;
case "abouthomebgstretch": manageCSS("cctr/abouthomebgstretch.css"); break;
case "abouthomenobar": manageCSS("cctr/abouthomenobar.css"); break;
case "abouthomenobar": manageCSS("cctr/abouthomenobar.css"); break;
case "abouthomenoappsbar": manageCSS("cctr/abouthomenoappsbar.css"); break;
case "abouthomenologo": manageCSS("cctr/abouthomenologo.css"); break;
case "abouthomenoicons": manageCSS("cctr/abouthomenoicons.css"); break;
case "abouthomenosnippets": manageCSS("cctr/abouthomenosnippets.css"); break;
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/defaults/preferences/options.js
Expand Up @@ -370,6 +370,7 @@ pref("extensions.classicthemerestorer.aboutnewtabcustomhighlightcolor","#00adee"
//Custom about:home style
pref("extensions.classicthemerestorer.abouthome", "dark");
pref("extensions.classicthemerestorer.abouthomenobar", false);
pref("extensions.classicthemerestorer.abouthomenoappsbar", false);
pref("extensions.classicthemerestorer.abouthomenologo", false);
pref("extensions.classicthemerestorer.abouthomenoicons", false);
pref("extensions.classicthemerestorer.abouthomenosnippets", false);
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/cs/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/da/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/de/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/dsb/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/el/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/en-US/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/es/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/et/options.dtd
Expand Up @@ -480,6 +480,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/fr/options.dtd
Expand Up @@ -482,6 +482,7 @@
<!ENTITY ctr_abouthome.dark "Page « about:home » : style foncé">
<!ENTITY ctr_abouthome.simplicity "Page « about:home » : style Simplicité">
<!ENTITY ctr_abouthome.links "Aucun lien sur la page about:home">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "Aucun logo sur la page about:home">
<!ENTITY ctr_abouthome.icons "Aucune icône sur la page about:home">
<!ENTITY ctr_abouthome.snippets "Aucun extrait sur la page about:home">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/hsb/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/it/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/ja/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
3 changes: 2 additions & 1 deletion CTR@8pecxstudios.com/locale/pl/options.dtd
Expand Up @@ -92,7 +92,7 @@
<!ENTITY Ctr_paneluibtweak3 "...gdy na pasku kart">
<!ENTITY Ctr_appbuttonc "Kolor przycisku">
<!ENTITY Ctr_appbuttonc_o "Pomarańczowy (Firefox)">
<!ENTITY Ctr_appbuttonc_a "Błękitny(Aurora)">
<!ENTITY Ctr_appbuttonc_a "Błękitny (Aurora)">
<!ENTITY Ctr_appbuttonc_n "Czarny (Nightly)">
<!ENTITY Ctr_appbuttonc_t "Przezroczysty">
<!ENTITY Ctr_appbuttonc_p "Błękitny (Palemoon)">
Expand Down Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Ciemny styl strony startowej">
<!ENTITY ctr_abouthome.simplicity "Uproszczony styl strony startowej">
<!ENTITY ctr_abouthome.links "Usuń linki ze strony startowej">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "Usuń logo ze strony startowej">
<!ENTITY ctr_abouthome.icons "Usuń ikony ze strony startowej">
<!ENTITY ctr_abouthome.snippets "Usuń fragmenty dotyczące informacji ze strony startowej">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/pt-BR/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark sobre: ​​estilo da página inicial">
<!ENTITY ctr_abouthome.simplicity "Simplicity sobre: ​​estilo da página inicial">
<!ENTITY ctr_abouthome.links "Não há links em sobre:página inicial">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "Nenhum logotipo em sobre:página inicial">
<!ENTITY ctr_abouthome.icons "Não há ícones em sobre:página inicial">
<!ENTITY ctr_abouthome.snippets "Não há trechos em sobre:página inicial">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/pt-PT/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Estilo escuro">
<!ENTITY ctr_abouthome.simplicity "Estilo Simplicity">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/ru/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Темная страница about:home">
<!ENTITY ctr_abouthome.simplicity "Упрощенная страница about:home">
<!ENTITY ctr_abouthome.links "Убрать ссылки со стартовой страницы about:home">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "Убрать логотип со стартовой страницы about:home">
<!ENTITY ctr_abouthome.icons "Убрать иконки со стартовой страницы about:home">
<!ENTITY ctr_abouthome.snippets "Убрать сниппеты со стартовой страницы about:home">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/sl/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/tr/options.dtd
Expand Up @@ -459,6 +459,7 @@
<!ENTITY ctr_abouthome.dark "Koyu renk about:home stili">
<!ENTITY ctr_abouthome.simplicity "Basit about:home stili">
<!ENTITY ctr_abouthome.links "Bağlantısız about:home sayfası">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "Logosuz about:home sayfası">
<!ENTITY ctr_abouthome.icons "İkonsuz about:home sayfası">
<!ENTITY ctr_abouthome.snippets "Parçacıksız about:home sayfası">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/uk/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/zh-CN/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down
1 change: 1 addition & 0 deletions CTR@8pecxstudios.com/locale/zh-TW/options.dtd
Expand Up @@ -479,6 +479,7 @@
<!ENTITY ctr_abouthome.dark "Dark about:home style">
<!ENTITY ctr_abouthome.simplicity "Simplicity about:home style">
<!ENTITY ctr_abouthome.links "No links on about:home page">
<!ENTITY ctr_abouthome.apps "No apps on about:home page">
<!ENTITY ctr_abouthome.logo "No logo on about:home page">
<!ENTITY ctr_abouthome.icons "No icons on about:home page">
<!ENTITY ctr_abouthome.snippets "No snippets on about:home page">
Expand Down

0 comments on commit b249430

Please sign in to comment.