This commit is contained in:
Zach Tibbitts 2007-03-26 04:59:48 +00:00
parent feac6b3b67
commit 96967035cb
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
import sys, os, os.path, urllib import sys, os, os.path, urllib
import core, dcommon, dgtk, ipc_manager, dialogs import core, dcommon, dgtk, ipc_manager, dialogs
import plugin, pref import plugins, pref
import pygtk import pygtk
pygtk.require('2.0') pygtk.require('2.0')
import gtk, gtk.glade, gobject import gtk, gtk.glade, gobject
@ -97,7 +97,7 @@ class DelugeGTK:
self.manager = core.Manager(p, v, s, dcommon.CONFIG_DIR) self.manager = core.Manager(p, v, s, dcommon.CONFIG_DIR)
self.something_screwed_up = False self.something_screwed_up = False
#else: self.something_screwed_up = False #else: self.something_screwed_up = False
self.plugins = plugin.PluginManager(self.manager, self) self.plugins = plugins.PluginManager(self.manager, self)
self.plugins.add_plugin_dir(dcommon.PLUGIN_DIR) self.plugins.add_plugin_dir(dcommon.PLUGIN_DIR)
if os.path.isdir(os.path.join(dcommon.CONFIG_DIR , 'plugins')): if os.path.isdir(os.path.join(dcommon.CONFIG_DIR , 'plugins')):
self.plugins.add_plugin_dir(os.path.join(dcommon.CONFIG_DIR, 'plugins')) self.plugins.add_plugin_dir(os.path.join(dcommon.CONFIG_DIR, 'plugins'))