1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-14 07:20:35 +02:00

Bug 1944 - Many "scriptables" link to non-existent pages or incorrect target pages

This commit is contained in:
James Crook 2018-08-24 19:06:51 +01:00
parent 66df5786de
commit ac5b743dd2
16 changed files with 25 additions and 25 deletions

View File

@ -36,7 +36,7 @@ public:
bool Apply() override; bool Apply() override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Compare_Audio");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#compare_Audio");};
bool Apply(const CommandContext &context) override; bool Apply(const CommandContext &context) override;

View File

@ -33,7 +33,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Demo");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I");};
private: private:
double delay; double delay;

View File

@ -32,7 +32,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables#drag");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#mouse_move");};
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;

View File

@ -38,7 +38,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Scriptables");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#get_info");};
bool Apply(const CommandContext &context) override; bool Apply(const CommandContext &context) override;
bool ApplyInner(const CommandContext &context); bool ApplyInner(const CommandContext &context);

View File

@ -36,7 +36,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Help");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#help");};
public: public:
wxString mCommandName; wxString mCommandName;
}; };

View File

@ -36,7 +36,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Import");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#import");};
public: public:
wxString mFileName; wxString mFileName;
}; };
@ -54,7 +54,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Export");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#export");};
public: public:
wxString mFileName; wxString mFileName;
int mnChannels; int mnChannels;

View File

@ -37,7 +37,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Message");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#message");};
public: public:
wxString mMessage; wxString mMessage;
}; };

View File

@ -34,7 +34,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Open");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#open_project");};
public: public:
wxString mFileName; wxString mFileName;
bool mbAddToHistory; bool mbAddToHistory;
@ -54,7 +54,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Save");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#save_project");};
public: public:
wxString mFileName; wxString mFileName;
bool mbAddToHistory; bool mbAddToHistory;

View File

@ -40,7 +40,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Preferences");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#get_preference");};
wxString mName; wxString mName;
}; };
@ -58,7 +58,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Preferences");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_preference");};
wxString mName; wxString mName;
wxString mValue; wxString mValue;

View File

@ -86,7 +86,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Help_Menu:_Tools#screenshot_tools");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#screenshot_short_format");};
private: private:
int mWhat; int mWhat;

View File

@ -41,7 +41,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Audio_Selection");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_time");};
bool bHasT0; bool bHasT0;
bool bHasT1; bool bHasT1;
@ -65,7 +65,7 @@ public:
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Spectral_Selection");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_frequencies");};
bool bHasBottom; bool bHasBottom;
bool bHasTop; bool bHasTop;
@ -85,7 +85,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Audio_Selection");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_tracks");};
bool bHasFirstTrack; bool bHasFirstTrack;
bool bHasNumTracks; bool bHasNumTracks;
@ -121,7 +121,7 @@ public:
mSelTracks.Apply(context); mSelTracks.Apply(context);
} }
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Audio_Selection");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#select");};
private: private:
SelectTimeCommand mSelTime; SelectTimeCommand mSelTime;
SelectFrequenciesCommand mSelFreq; SelectFrequenciesCommand mSelFreq;

View File

@ -33,7 +33,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_clip");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_clip");};
bool ApplyInner( const CommandContext & context, Track * t ) override; bool ApplyInner( const CommandContext & context, Track * t ) override;
public: public:

View File

@ -33,7 +33,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_label");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_envelope");};
bool ApplyInner( const CommandContext & context, Track * t ) override; bool ApplyInner( const CommandContext & context, Track * t ) override;
public: public:

View File

@ -32,7 +32,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_label");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_label");};
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;

View File

@ -33,7 +33,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_project");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_project");};
bool Apply(const CommandContext & context) override; bool Apply(const CommandContext & context) override;

View File

@ -57,7 +57,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_track_status");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_status");};
bool ApplyInner( const CommandContext & context, Track * t ) override; bool ApplyInner( const CommandContext & context, Track * t ) override;
public: public:
@ -82,7 +82,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_track");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_audio");};
bool ApplyInner( const CommandContext & context, Track * t ) override; bool ApplyInner( const CommandContext & context, Track * t ) override;
public: public:
@ -109,7 +109,7 @@ public:
void PopulateOrExchange(ShuttleGui & S) override; void PopulateOrExchange(ShuttleGui & S) override;
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_track");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_visuals");};
bool ApplyInner( const CommandContext & context, Track * t ) override; bool ApplyInner( const CommandContext & context, Track * t ) override;
public: public:
@ -143,7 +143,7 @@ public:
IdentInterfaceSymbol GetSymbol() override {return SET_TRACK_PLUGIN_SYMBOL;}; IdentInterfaceSymbol GetSymbol() override {return SET_TRACK_PLUGIN_SYMBOL;};
wxString GetDescription() override {return _("Sets various values for a track.");}; wxString GetDescription() override {return _("Sets various values for a track.");};
// AudacityCommand overrides // AudacityCommand overrides
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#set_track");}; wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#set_track");};
public: public: