+ self.plugins = {}
+ for x in self.pluginlist:
+ split = x[3].split('-')
+ if len(split) < 2:
+ continue
+ if not self.plugins.has_key(split[0]):
+ self.plugins[split[0]] = []
+
+ self.plugins[split[0]].append((PluginDescriptor(name = x[3], description = x[2], icon = verticallineIcon), split[1]))
+
+ for x in self.plugins.keys():
+ if x in self.expanded:
+ list.append(PluginCategoryComponent(x, expandedIcon))
+ list.extend([PluginDownloadComponent(plugin[0], plugin[1]) for plugin in self.plugins[x]])
+ else:
+ list.append(PluginCategoryComponent(x, expandableIcon))
+ self.list = list
+ self["list"].l.setList(list)