1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 09:25:47 +01:00

remove preload option

This commit is contained in:
Martin Stubenschrott
2009-04-30 08:47:48 +02:00
parent 324597c8a7
commit cb74c7f40c
10 changed files with 11 additions and 56 deletions

View File

@@ -247,15 +247,6 @@ function Bookmarks() //{{{
var cache = storage.newObject("bookmark-cache", Cache, false);
storage.addObserver("bookmark-cache", bookmarkObserver, window);
liberator.registerObserver("enter", function () {
if (options["preload"])
{
// Forces a load, if not already loaded but wait 10sec
// so most tabs should be restored and the CPU should be idle again usually
setTimeout(function () { liberator.callFunctionInThread(null, function () cache.bookmarks); }, 10000);
}
});
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// OPTIONS /////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
@@ -272,10 +263,6 @@ function Bookmarks() //{{{
validator: Option.validateCompleter
});
options.add(["preload"],
"Speed up first time history/bookmark completion",
"boolean", true);
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// MAPPINGS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{

View File

@@ -59,7 +59,7 @@ syn match xulmusOption "\<\%(no\|inv\)\=\%(errorbells\|eb\|exrc\|ex\|focusconten
\ contained nextgroup=xulmusSetMod
syn match xulmusOption "\<\%(no\|inv\)\=\%(incsearch\|is\|insertmode\|im\|hlsearch\|hls\|linksearch\|lks\)\>!\="
\ contained nextgroup=xulmusSetMod
syn match xulmusOption "\<\%(no\|inv\)\=\%(loadplugins\|lpl\|more\|online\|preload\|showmode\|smd\|smartcase\|scs\)\>!\="
syn match xulmusOption "\<\%(no\|inv\)\=\%(loadplugins\|lpl\|more\|online\|showmode\|smd\|smartcase\|scs\)\>!\="
\ contained nextgroup=xulmusSetMod
syn match xulmusOption "\<\%(no\|inv\)\=\%(online\|visualbell\|vb\|usermode\|um\)\>!\="
\ contained nextgroup=xulmusSetMod

View File

@@ -338,7 +338,6 @@ section:Options[option-index]
||'online'|| Set the \'work offline' option +
||'pageinfo'|| Desired info on [c]:pa[geinfo][c] +
||'popups'|| Where to show requested popup windows +
||'preload'|| Speed up first time history/bookmark completion +
||'previouspattern'|| Patterns to use when guessing the \'previous' page in a document sequence +
||'repeat'|| Set the playback repeat mode +
||'runtimepath'|| List of directories searched for runtime files +

View File

@@ -572,18 +572,6 @@ Note: This option does not change the popup blocker of Songbird in any way.
____
|\'nopreload'| |\'preload'|
||'preload' 'nopreload'|| boolean (default: on)
____
Speed up first time history/bookmark completion
History access can be quite slow for a large history. Xulmus maintains a
cache to speed it up significantly on subsequent access. In order to
also speed up first time access, it is cached at startup if this option
is set (recommended).
____
|\'previouspattern'|
||'previouspattern'|| stringlist
____