viewer saves compatibility mode preference
This commit is contained in:
Родитель
4cabf46016
Коммит
a7212f871f
|
@ -2126,6 +2126,7 @@ nsBrowserWindow::SetCompatibilityMode(PRBool aIsStandard)
|
|||
if (nsnull != mPrefs) {
|
||||
int32 prefInt = (aIsStandard) ? eCompatibility_Standard : eCompatibility_NavQuirks;
|
||||
mPrefs->SetIntPref("nglayout.compatibility.mode", prefInt);
|
||||
mPrefs->SavePrefFile();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ VIEWER MENU DISCARDABLE
|
|||
MENUITEM SEPARATOR
|
||||
MENUITEM "Show Content Quality", VIEWER_SHOW_CONTENT_QUALITY
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Compatibility Mode"
|
||||
POPUP "&Compatibility Mode Pref"
|
||||
{
|
||||
MENUITEM "Nav Quirks", VIEWER_NAV_QUIRKS_MODE
|
||||
MENUITEM "Standard", VIEWER_STANDARD_MODE
|
||||
|
|
Загрузка…
Ссылка в новой задаче