23587: Make accelerator and menu access keys settable through a pref. r=saari
git-svn-id: svn://10.0.0.236/trunk@76513 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -414,6 +414,11 @@ pref("signed.applets.codebase_principal_support", false);
|
||||
pref("security.checkloaduri", true);
|
||||
pref("security.xpconnect.plugin.unrestricted", true);
|
||||
|
||||
// Modifier key prefs: default to Windows settings,
|
||||
// menu access key = alt, accelerator key = control.
|
||||
pref("ui.key.acceleratorKey", 17);
|
||||
pref("ui.key.menuAccessKey", 18);
|
||||
|
||||
// Middle-mouse handling
|
||||
pref("middlemouse.paste", false);
|
||||
pref("middlemouse.openNewWindow", false);
|
||||
|
||||
@@ -138,6 +138,9 @@ pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");
|
||||
pref("font.name.cursive.zh-TW", "XXX.cursive");
|
||||
pref("font.name.fantasy.zh-TW", "XXX.fantasy");
|
||||
|
||||
// Override the Windows settings: no menu key, meta accelerator key.
|
||||
pref("ui.key.menuAccessKey", 0);
|
||||
pref("ui.key.acceleratorKey", 224);
|
||||
|
||||
// This overrides the setting in config.js (which points to the Windows page)
|
||||
config("menu.help.item_0.label","Help Contents");
|
||||
|
||||
Reference in New Issue
Block a user