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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user