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

get rid off v.options.{g,s}etFirefoxPref and renamed it to {g,s}etPref. You shouldn't save vimperator specific preferences in the about:config anyway, but store larger things like the history in the SQLITE database.

This commit is contained in:
Martin Stubenschrott
2008-02-05 01:00:15 +00:00
parent 8c100b78ba
commit 2777a8e09c
10 changed files with 77 additions and 94 deletions

View File

@@ -155,9 +155,9 @@ vimperator.IO = function () //{{{
var pluginDir;
if (WINDOWS)
pluginDir = "~/vimperator/" + directory;
pluginDir = "~/" + vimperator.config.name.toLowerCase() + "/" + directory;
else
pluginDir = "~/.vimperator/" + directory;
pluginDir = "~/." + vimperator.config.name.toLowerCase() + "/" + directory;
pluginDir = this.getFile(this.expandPath(pluginDir));
@@ -166,8 +166,8 @@ vimperator.IO = function () //{{{
getRCFile: function ()
{
var rcFile1 = this.getFile("~/.vimperatorrc");
var rcFile2 = this.getFile("~/_vimperatorrc");
var rcFile1 = this.getFile("~/." + vimperator.config.name.toLowerCase() + "rc");
var rcFile2 = this.getFile("~/_" + vimperator.config.name.toLowerCase() + "rc");
if (WINDOWS)
[rcFile1, rcFile2] = [rcFile2, rcFile1]