add USER_xxx constants to const, use them

svn: r9407
This commit is contained in:
James G Sack
2007-11-26 05:11:19 +00:00
parent 88f23700a0
commit ecfa4aa0c0
7 changed files with 36 additions and 21 deletions

View File

@ -585,12 +585,12 @@ class ViewManager:
# load document generators
self.uistate.status_text(_('Loading document formats...'))
error = load_plugins(const.DOCGEN_DIR)
error |= load_plugins(os.path.join(const.HOME_DIR, "docgen"))
error |= load_plugins(const.USER_DOCGEN)
# load plugins
self.uistate.status_text(_('Loading plugins...'))
error |= load_plugins(const.PLUGINS_DIR)
error |= load_plugins(os.path.join(const.HOME_DIR, "plugins"))
error |= load_plugins(const.USER_PLUGINS)
# get to ssee if we need to open the plugin status window
if Config.get(Config.POP_PLUGIN_STATUS) and error: