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

merge faster initial setting of gui options

This commit is contained in:
Doug Kearns
2007-10-27 01:44:20 +00:00
parent c222232df4
commit 63df7e8ba2
3 changed files with 46 additions and 15 deletions

View File

@@ -753,11 +753,9 @@ const vimperator = (function() //{{{
vimperator.log("No user RC file found", 3);
// also source plugins in ~/.vimperator/plugin/
var entries = [];
try
{
var plugin_dir = vimperator.io.getPluginDir();
if (plugin_dir)
{
var files = vimperator.io.readDirectory(plugin_dir.path);
@@ -777,6 +775,11 @@ const vimperator = (function() //{{{
// thrown if directory does not exist
//vimperator.log("Error sourcing plugin directory: " + e);
}
// after sourcing the initialization files, this function will set
// all gui options to their default values, if they have not been
// set before by any rc file
vimperator.options.setInitialGUI();
}, 0);
vimperator.statusline.update();