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

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

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