config: implicitly tag all hub plugins as pluginhub
This commit is contained in:
@@ -97,8 +97,13 @@ class PluginListItem extends JPanel
|
|||||||
ExternalPluginManifest mf = pluginConfig.getExternalPluginManifest();
|
ExternalPluginManifest mf = pluginConfig.getExternalPluginManifest();
|
||||||
if (mf != null)
|
if (mf != null)
|
||||||
{
|
{
|
||||||
|
keywords.add("pluginhub");
|
||||||
keywords.add(mf.getInternalName());
|
keywords.add(mf.getInternalName());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
keywords.add("plugin"); // we don't want searching plugin to only show hub plugins
|
||||||
|
}
|
||||||
|
|
||||||
setLayout(new BorderLayout(3, 0));
|
setLayout(new BorderLayout(3, 0));
|
||||||
setPreferredSize(new Dimension(PluginPanel.PANEL_WIDTH, 20));
|
setPreferredSize(new Dimension(PluginPanel.PANEL_WIDTH, 20));
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class PluginListPanel extends PluginPanel
|
|||||||
"Item",
|
"Item",
|
||||||
"Minigame",
|
"Minigame",
|
||||||
"Notification",
|
"Notification",
|
||||||
|
"Plugin Hub",
|
||||||
"Skilling",
|
"Skilling",
|
||||||
"XP"
|
"XP"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user