1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 21:44:11 +01:00

initial Option/Options implementation - replacing g_options

This commit is contained in:
Doug Kearns
2007-06-16 11:36:30 +00:00
parent 875fa52761
commit 12c75c8052
9 changed files with 685 additions and 727 deletions

View File

@@ -86,7 +86,7 @@ function Bookmarks()
var bookmarks = null;
var keywords = null;
if(get_pref("preload"))
if(vimperator.options["preload"])
setTimeout(function() { load(); } , 100);
function load()
@@ -230,7 +230,7 @@ function Bookmarks()
{
var url = null;
if(!engine_name || engine_name == "")
engine_name = get_pref("defsearch", "google");
engine_name = vimperator.options["defsearch"];
// first checks the search engines for a match
var engine = search_service.getEngineByAlias(engine_name);
@@ -273,7 +273,7 @@ function History()
var history = null;
if(get_pref("preload"))
if(vimperator.options["preload"])
setTimeout(function() { load(); } , 100);
function load()