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

move Options.{setPref,getPref,setFirefoxPref,getFirefoxPref} to slots of vimperator.options

This commit is contained in:
Doug Kearns
2007-10-21 05:34:50 +00:00
parent d28cb96df2
commit 79577bea5f
7 changed files with 23 additions and 23 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)