This commit is contained in:
mgalli%geckonnection.com 2005-11-16 21:26:05 +00:00
Родитель 2dba33766b
Коммит d85e8c9bf3
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -298,6 +298,10 @@ function MiniNavStartup()
if(getBrowser().mPanelContainer.childNodes.length==1) {
getBrowser().mStrip.collapsed=true;
}
/* Recover whiever is the state SNAV in the pref */
gStateSNAV = gPref.getBoolPref("snav.enabled");
}
@ -798,6 +802,10 @@ function MenuPopupHidden() {
* https://bugzilla.mozilla.org/show_bug.cgi?id=311287#c1 - we should have the snav interface here.
*/
function BrowserSNAVToggle(state) {
if(gStateSNAV != state) { // goes through actually doing, only first time.
gPref.setBoolPref("snav.enabled", state);
gStateSNAV=state;
}
}