From f6f37985a5e5aa96fb79244f89ba1c998ce60ae0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 Feb 2013 19:35:51 +0100 Subject: updated bootstrap, fixed tooltips --- module/api/ConfigApi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/api') diff --git a/module/api/ConfigApi.py b/module/api/ConfigApi.py index 451e4f832..fcc0bdd14 100644 --- a/module/api/ConfigApi.py +++ b/module/api/ConfigApi.py @@ -53,7 +53,7 @@ class ConfigApi(ApiComponent): :rtype: list of PluginInfo """ - return [PluginInfo(section, config.name, config.description, False, False) + return [ConfigInfo(section, config.name, config.description, False, False) for section, config, values in self.core.config.iterCoreSections()] @UserContext @@ -67,7 +67,7 @@ class ConfigApi(ApiComponent): data = [] for name, config, values in self.core.config.iterSections(self.user): if not values: continue - item = PluginInfo(name, config.name, config.description, + item = ConfigInfo(name, config.name, config.description, self.core.pluginManager.isPluginType(name, "addons"), self.core.pluginManager.isUserPlugin(name), values.get("activated", False)) @@ -83,7 +83,7 @@ class ConfigApi(ApiComponent): :rtype: list of PluginInfo """ # TODO: filter user_context / addons when not allowed - return [PluginInfo(name, config.name, config.description, + return [ConfigInfo(name, config.name, config.description, self.core.pluginManager.isPluginType(name, "addons"), self.core.pluginManager.isUserPlugin(name)) for name, config, values in self.core.config.iterSections(self.user)] -- cgit v1.2.3