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

Move 'fullscreen' definition to the liberator module.

This commit is contained in:
Doug Kearns
2009-06-25 22:50:32 +10:00
parent f4b94374ae
commit f798b979ef
2 changed files with 8 additions and 9 deletions

View File

@@ -147,15 +147,6 @@ function Buffer() //{{{
////////////////////// OPTIONS ///////////////////////////////////////////////// ////////////////////// OPTIONS /////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{ /////////////////////////////////////////////////////////////////////////////{{{
// FIXME: Most certainly belongs elsewhere.
options.add(["fullscreen", "fs"],
"Show the current window fullscreen",
"boolean", false,
{
setter: function (value) window.fullScreen = value,
getter: function () window.fullScreen
});
options.add(["nextpattern"], // \u00BB is » (>> in a single char) options.add(["nextpattern"], // \u00BB is » (>> in a single char)
"Patterns to use when guessing the 'next' page in a document sequence", "Patterns to use when guessing the 'next' page in a document sequence",
"stringlist", "\\bnext\\b,^>$,^(>>|\u00BB)$,^(>|\u00BB),(>|\u00BB)$,\\bmore\\b"); "stringlist", "\\bnext\\b,^>$,^(>>|\u00BB)$,^(>|\u00BB),(>|\u00BB)$,\\bmore\\b");

View File

@@ -212,6 +212,14 @@ const liberator = (function () //{{{
} }
}; };
options.add(["fullscreen", "fs"],
"Show the current window fullscreen",
"boolean", false,
{
setter: function (value) window.fullScreen = value,
getter: function () window.fullScreen
});
options.add(["guioptions", "go"], options.add(["guioptions", "go"],
"Show or hide certain GUI elements like the menu or toolbar", "Show or hide certain GUI elements like the menu or toolbar",
"charlist", config.defaults.guioptions || "", "charlist", config.defaults.guioptions || "",