Plugin Manager: Remove "Get more effects..."

Remove the get more effects button in the plugin manager.

Signed-off-by: Avery King <gperson@disroot.org>
This commit is contained in:
Avery King
2025-04-02 11:10:57 -07:00
parent 7e97628b0e
commit 3b4974ff2a
2 changed files with 1 additions and 12 deletions

View File

@@ -44,15 +44,13 @@ enum
ID_FilterType,
ID_FilterCategory,
ID_List,
ID_Rescan,
ID_GetMoreEffects,
ID_Rescan
};
BEGIN_EVENT_TABLE(PluginRegistrationDialog, wxDialogWrapper)
EVT_BUTTON(wxID_OK, PluginRegistrationDialog::OnOK)
EVT_BUTTON(wxID_CANCEL, PluginRegistrationDialog::OnCancel)
EVT_BUTTON(ID_Rescan, PluginRegistrationDialog::OnRescan)
EVT_BUTTON(ID_GetMoreEffects, PluginRegistrationDialog::OnGetMoreEffects)
EVT_CHOICE(ID_FilterState, PluginRegistrationDialog::OnStateFilterValueChanged)
EVT_CHOICE(ID_FilterType, PluginRegistrationDialog::OnTypeFilterValueChanged)
EVT_CHOICE(ID_FilterCategory, PluginRegistrationDialog::OnCategoryFilterValueChanged)
@@ -203,9 +201,6 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
{
S.AddSpace(Margin, 1);
S.Id(ID_Rescan).AddButton(XXO("&Rescan"));
#if defined(__WXMSW__) || defined(__WXMAC__)
S.Id(ID_GetMoreEffects).AddButton(XXO("&Get more effects..."));
#endif
S.AddSpace(1, 1, 1);
S.Id(wxID_OK).AddButton(XXO("&OK"));
@@ -342,11 +337,6 @@ void PluginRegistrationDialog::OnRescan(wxCommandEvent& WXUNUSED(evt))
});
}
void PluginRegistrationDialog::OnGetMoreEffects(wxCommandEvent& WXUNUSED(evt))
{
OpenInDefaultBrowser("https://www.audacityteam.org/mh-pluginmanager");
}
void PluginRegistrationDialog::OnOK(wxCommandEvent & WXUNUSED(evt))
{
auto result = ProgressResult::Success;

View File

@@ -37,7 +37,6 @@ private:
void OnOK(wxCommandEvent & evt);
void OnCancel(wxCommandEvent & evt);
void OnRescan(wxCommandEvent & evt);
void OnGetMoreEffects(wxCommandEvent & evt);
wxArrayString mPluginProviderIDs;