Index: channels/configwin.py
==================================================================
--- channels/configwin.py
+++ channels/configwin.py
@@ -106,21 +106,21 @@
# iterate over channel and feature plugins
def add_plugins(self):
- ls = {}
- for name in module_list():
- if name in self.channels:
- ls[name] = self.channels[name].meta
- elif name in self.features:
- ls[name] = self.features[name].meta
- else:
- ls[name] = plugin_meta(conf.share+"/channels/"+name+".py")
+ ls = dict([(name, plugin_meta(module=name)) for name in module_list()])
+ #for name in module_list():
+ # if name in self.channels:
+ # ls[name] = self.channels[name].meta
+ # elif name in self.features:
+ # ls[name] = self.features[name].meta
+ # else:
+ # ls[name] = plugin_meta(module=name)
for name,meta in sorted(ls.items(), key=lambda e: e[1]["type"]+e[1]["title"].lower(), reverse=False):
self.add_plg(name, meta)
- #self.plugin_options.pack_start(uikit.label("\nFeature plugins add categories, submenu entries, or other extensions.\n", 500, 1))
+
# add configuration setting definitions from plugins
plugin_text = "%s (%s/%s) %s\n%s"
def add_plg(self, name, meta):
# add plugin load entry