mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-17 14:11:13 +01:00
Fix links to local help for buttons in Library preferences...
... There are four different code paths to test, for four different "Download" buttons: The two "Download" buttons in the Libraries preference dialog; and, The Download button in each of the two dialog boxes that follow the two "Locate..." buttons. There are just two new help pages in a proper build of local help, each the target of two buttons. One of these pages is called "FAQ:Installing the FFmpeg-Import-Export Library" rather than "FAQ:Installing the FFmpeg-Import/Export Library" because there are some difficulties preventing links to pages with "/" in the title, which I didn't try to fix.
This commit is contained in:
@@ -535,7 +535,7 @@ public:
|
|||||||
|
|
||||||
void OnDownload(wxCommandEvent & WXUNUSED(event))
|
void OnDownload(wxCommandEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
HelpSystem::ShowHelp(this, wxT("FAQ:Installation_and_Plug-Ins#ffdown"));
|
HelpSystem::ShowHelp(this, wxT("FAQ:Installing_the_FFmpeg_Import_Export_Library"));
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString GetLibPath()
|
wxString GetLibPath()
|
||||||
|
|||||||
@@ -677,7 +677,7 @@ public:
|
|||||||
|
|
||||||
void OnDownload(wxCommandEvent & WXUNUSED(event))
|
void OnDownload(wxCommandEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
HelpSystem::ShowHelp(this, wxT("FAQ:Installation_and_Plug-Ins#lame"));
|
HelpSystem::ShowHelp(this, wxT("FAQ:Installing_the_LAME_MP3_Encoder"));
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString GetLibPath()
|
wxString GetLibPath()
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ void LibraryPrefs::OnMP3FindButton(wxCommandEvent & WXUNUSED(event))
|
|||||||
void LibraryPrefs::OnMP3DownButton(wxCommandEvent & WXUNUSED(event))
|
void LibraryPrefs::OnMP3DownButton(wxCommandEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
// Modal help dialogue required here
|
// Modal help dialogue required here
|
||||||
HelpSystem::ShowHelp(this, wxT("FAQ:Installation_and_Plug-Ins#lame"), true);
|
HelpSystem::ShowHelp(this, wxT("FAQ:Installing_the_LAME_MP3_Encoder"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibraryPrefs::SetFFmpegVersionText()
|
void LibraryPrefs::SetFFmpegVersionText()
|
||||||
@@ -228,7 +228,7 @@ void LibraryPrefs::OnFFmpegFindButton(wxCommandEvent & WXUNUSED(event))
|
|||||||
|
|
||||||
void LibraryPrefs::OnFFmpegDownButton(wxCommandEvent & WXUNUSED(event))
|
void LibraryPrefs::OnFFmpegDownButton(wxCommandEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
HelpSystem::ShowHelp(this, wxT("FAQ:Installation_and_Plug-Ins#ffdown"), true);
|
HelpSystem::ShowHelp(this, wxT("FAQ:Installing_the_FFmpeg_Import_Export_Library"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LibraryPrefs::Commit()
|
bool LibraryPrefs::Commit()
|
||||||
|
|||||||
Reference in New Issue
Block a user