config: implicitly tag all hub plugins as pluginhub

This commit is contained in:
Max Weber
2020-09-09 09:43:17 -06:00
committed by Tomas Slusny
parent 4f7a51face
commit dc83821599
2 changed files with 6 additions and 0 deletions

View File

@@ -97,8 +97,13 @@ class PluginListItem extends JPanel
ExternalPluginManifest mf = pluginConfig.getExternalPluginManifest();
if (mf != null)
{
keywords.add("pluginhub");
keywords.add(mf.getInternalName());
}
else
{
keywords.add("plugin"); // we don't want searching plugin to only show hub plugins
}
setLayout(new BorderLayout(3, 0));
setPreferredSize(new Dimension(PluginPanel.PANEL_WIDTH, 20));

View File

@@ -81,6 +81,7 @@ class PluginListPanel extends PluginPanel
"Item",
"Minigame",
"Notification",
"Plugin Hub",
"Skilling",
"XP"
);