mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 17:39:25 +02:00
Fix revision ident hyperlinking
It needed a LinkingHtmlWindow, not just a wxHtmlWindow. It needed http, not https. I also left an example string with comment in RevisionIdent.h
This commit is contained in:
parent
28864acb23
commit
9d43c9175c
@ -1,8 +1,8 @@
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -y libwxgtk2.8-dev
|
- sudo apt-get install -y libwxgtk2.8-dev
|
||||||
- git show -s --format="wxT(\"<a href=\\\"https://github.com/audacity/audacity/commit/%H\\\">%h</a> of %cd\")"
|
- git show -s --format="wxT(\"<a href=\\\"http://github.com/audacity/audacity/commit/%H\\\">%h</a> of %cd\")"
|
||||||
- git show -s --format="wxT(\"<a href=\\\"https://github.com/audacity/audacity/commit/%H\\\">%h</a> of %cd\")" > ./src/RevisionIdent.h
|
- git show -s --format="wxT(\"<a href=\\\"http://github.com/audacity/audacity/commit/%H\\\">%h</a> of %cd\")" > ./src/RevisionIdent.h
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
|
@ -339,7 +339,7 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S )
|
|||||||
wxString informationStr; // string to build up list of information in
|
wxString informationStr; // string to build up list of information in
|
||||||
S.StartNotebookPage( _("Build Information") ); // start the tab
|
S.StartNotebookPage( _("Build Information") ); // start the tab
|
||||||
S.StartVerticalLay(2); // create the window
|
S.StartVerticalLay(2); // create the window
|
||||||
HtmlWindow *html = new HtmlWindow(S.GetParent(), -1, wxDefaultPosition,
|
HtmlWindow *html = new LinkingHtmlWindow(S.GetParent(), -1, wxDefaultPosition,
|
||||||
wxSize(ABOUT_DIALOG_WIDTH, 264),
|
wxSize(ABOUT_DIALOG_WIDTH, 264),
|
||||||
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);
|
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);
|
||||||
// create a html pane in it to put the content in.
|
// create a html pane in it to put the content in.
|
||||||
@ -582,7 +582,7 @@ void AboutDialog::PopulateLicensePage( ShuttleGui & S )
|
|||||||
{
|
{
|
||||||
S.StartNotebookPage( _("GPL License") );
|
S.StartNotebookPage( _("GPL License") );
|
||||||
S.StartVerticalLay(1);
|
S.StartVerticalLay(1);
|
||||||
HtmlWindow *html = new HtmlWindow(S.GetParent(), -1,
|
HtmlWindow *html = new LinkingHtmlWindow(S.GetParent(), -1,
|
||||||
wxDefaultPosition,
|
wxDefaultPosition,
|
||||||
wxSize(ABOUT_DIALOG_WIDTH, 264),
|
wxSize(ABOUT_DIALOG_WIDTH, 264),
|
||||||
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);
|
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);
|
||||||
|
@ -21,8 +21,12 @@
|
|||||||
|
|
||||||
*//********************************************************************/
|
*//********************************************************************/
|
||||||
|
|
||||||
|
// The commented out string below is like the one the build servers
|
||||||
|
// will replace this file with.
|
||||||
|
wxT("<a href=\"http://github.com/audacity/audacity/commit/28864acb238cb3ca71dda190a2d93242591dd80e\">28864ac</a> of Sun Apr 12 12:40:22 2015 +0100")
|
||||||
|
|
||||||
|
|
||||||
// The string below is what you get if
|
// The string below is what you get if
|
||||||
// the build system does not replace this file.
|
// the build system does not replace this file.
|
||||||
|
//wxT("No revision identifier was provided")
|
||||||
wxT("No revision identifier was provided")
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user