1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 02:14:12 +01:00

move Options.{setPref,getPref,setFirefoxPref,getFirefoxPref} to slots of vimperator.options

This commit is contained in:
Doug Kearns
2007-10-21 05:34:50 +00:00
parent d28cb96df2
commit 79577bea5f
7 changed files with 23 additions and 23 deletions

View File

@@ -499,7 +499,7 @@ function Events() //{{{
case vimperator.modes.CARET:
// setting this option will trigger an observer which will care about all other details
// like setting the NORMAL mode
Options.setFirefoxPref("accessibility.browsewithcaret", false);
vimperator.options.setFirefoxPref("accessibility.browsewithcaret", false);
break;
case vimperator.modes.INSERT:
@@ -905,7 +905,7 @@ function Events() //{{{
switch (aData)
{
case "accessibility.browsewithcaret":
var value = Options.getFirefoxPref("accessibility.browsewithcaret", false);
var value = vimperator.options.getFirefoxPref("accessibility.browsewithcaret", false);
vimperator.mode = value ? vimperator.modes.CARET : vimperator.modes.NORMAL;
break;
}