From a4bc6867bd42fca9b37156e080d1c8b058fc9ca5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 26 Feb 2013 19:18:34 +0100 Subject: improved file view, added default plugin icon --- module/PluginManager.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'module/PluginManager.py') diff --git a/module/PluginManager.py b/module/PluginManager.py index c20481e33..dac857059 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -63,11 +63,9 @@ class PluginManager: self.user_context = {} # plugins working with user context self.createIndex() - #register for import addon sys.meta_path.append(self) - def logDebug(self, type, plugin, msg): self.log.debug("Plugin %s | %s: %s" % (type, plugin, msg)) @@ -331,7 +329,6 @@ class PluginManager: if user and not self.plugins[type][name].user: return self - def load_module(self, name, replace=True): if name not in sys.modules: #could be already in modules if replace: @@ -352,7 +349,6 @@ class PluginManager: return sys.modules[name] - def reloadPlugins(self, type_plugins): """ reloads and reindexes plugins """ if not type_plugins: return False @@ -398,15 +394,7 @@ class PluginManager: if plugin in self.plugins["addons"]: return self.plugins["addons"][plugin] or "addon" - - def loadIcons(self): - """Loads all icons from plugins, plugin type is not in result, because its not important here. - - :return: Dict of names mapped to icons - """ - pass - - def loadIcon(self, type, name): + def loadIcon(self, name): """ load icon for single plugin, base64 encoded""" pass -- cgit v1.2.3