зеркало из https://github.com/mozilla/gecko-dev.git
back out previous checkin - it's only going in on the branch
This commit is contained in:
Родитель
dca453c122
Коммит
90218a3814
|
@ -26,6 +26,17 @@ function Startup()
|
||||||
tree.selectItem(theSkinKids.firstChild);
|
tree.selectItem(theSkinKids.firstChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function applySkin()
|
||||||
|
{
|
||||||
|
var tree = document.getElementById( "skinsTree" );
|
||||||
|
var selectedSkinItem = tree.selectedItems[0];
|
||||||
|
var skinName = selectedSkinItem.getAttribute( "name" );
|
||||||
|
if (!chromeRegistry.isSkinSelected(skinName, DEBUG_USE_PROFILE)) {
|
||||||
|
chromeRegistry.selectSkin( skinName, DEBUG_USE_PROFILE );
|
||||||
|
chromeRegistry.refreshSkins();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function deselectSkin()
|
function deselectSkin()
|
||||||
{
|
{
|
||||||
var tree = document.getElementById( "skinsTree" );
|
var tree = document.getElementById( "skinsTree" );
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
src="chrome://global/locale/brand.properties"/>
|
src="chrome://global/locale/brand.properties"/>
|
||||||
|
|
||||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-themes.js"/>
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-themes.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-themes-apply.js"/>
|
|
||||||
|
|
||||||
<box class="box-smallheader" title="&lHeader;"/>
|
<box class="box-smallheader" title="&lHeader;"/>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче