summaryrefslogtreecommitdiffstats
path: root/module/api
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-20 19:35:51 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-20 19:35:51 +0100
commitf6f37985a5e5aa96fb79244f89ba1c998ce60ae0 (patch)
tree325fc686048a844b2fc68041a1a2b68575cb088f /module/api
parenttooltips and other improvements on webui (diff)
downloadpyload-f6f37985a5e5aa96fb79244f89ba1c998ce60ae0.tar.xz
updated bootstrap, fixed tooltips
Diffstat (limited to 'module/api')
-rw-r--r--module/api/ConfigApi.py6
1 files changed, 3 insertions, 3 deletions
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)]