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

merge relocation of Options.{setPref,getPref,setFirefoxPref,getFirefoxPref} to

slots of vimperator.options
This commit is contained in:
Doug Kearns
2007-10-22 03:47:19 +00:00
parent 25b9bcbc33
commit 55c8cb6ec5
4 changed files with 18 additions and 18 deletions

View File

@@ -57,14 +57,14 @@ function CommandLine() //{{{
load: function()
{
this.cmd = Options.getPref("commandline_cmd_history", "").split("\n");
this.search = Options.getPref("commandline_search_history", "").split("\n");
this.cmd = vimperator.options.getPref("commandline_cmd_history", "").split("\n");
this.search = vimperator.options.getPref("commandline_search_history", "").split("\n");
},
save: function()
{
Options.setPref("commandline_cmd_history", this.cmd.join("\n"));
Options.setPref("commandline_search_history", this.search.join("\n"));
vimperator.options.setPref("commandline_cmd_history", this.cmd.join("\n"));
vimperator.options.setPref("commandline_search_history", this.search.join("\n"));
},
add: function(str)