mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:57: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:
@@ -811,7 +811,8 @@ vimperator.QuickMarks = function () //{{{
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
var qmarks = {};
|
||||
var savedMarks = vimperator.options.getPref("quickmarks", "").split("\n");
|
||||
// TODO: move to a storage module
|
||||
var savedMarks = vimperator.options.getPref("vimperator.extensions.quickmarks", "").split("\n");
|
||||
|
||||
// load the saved quickmarks -- TODO: change to sqlite
|
||||
for (var i = 0; i < savedMarks.length - 1; i += 2)
|
||||
@@ -907,7 +908,7 @@ vimperator.QuickMarks = function () //{{{
|
||||
savedQuickMarks += qmarks[i] + "\n";
|
||||
}
|
||||
|
||||
vimperator.options.setPref("quickmarks", savedQuickMarks);
|
||||
vimperator.options.setPref("vimperator.extensions.quickmarks", savedQuickMarks);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user