1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:58:00 +01:00

get rid off v.options.{g,s}etFirefoxPref and renamed it to {g,s}etPref. You shouldn't save vimperator specific preferences in the about:config anyway, but store larger things like the history in the SQLITE database.

This commit is contained in:
Martin Stubenschrott
2008-02-05 01:00:15 +00:00
parent 8c100b78ba
commit 2777a8e09c
10 changed files with 77 additions and 94 deletions

View File

@@ -135,9 +135,9 @@ vimperator.modes = (function () //{{{
if (newMode == vimperator.modes.NORMAL)
{
// disable caret mode when we want to switch to normal mode
var value = vimperator.options.getFirefoxPref("accessibility.browsewithcaret", false);
var value = vimperator.options.getPref("accessibility.browsewithcaret", false);
if (value)
vimperator.options.setFirefoxPref("accessibility.browsewithcaret", false);
vimperator.options.setPref("accessibility.browsewithcaret", false);
vimperator.statusline.updateUrl();
vimperator.focusContent(false);