mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-14 15:48:21 +02:00
Tweaks prior to release.
Turn of Theming page. Remove Check for Updates. Make it clearer it is Audacity Manual we are directing people to. Output Theme is for DarkAudacity. Grabber hack (to hide number fragments) for DarkAudacity too.
This commit is contained in:
parent
a31b134677
commit
9e8c5780b7
@ -58,7 +58,7 @@
|
||||
|
||||
//August 2009 - Theming not locked down enough for a stable release.
|
||||
// This turns on the Theme panel in Prefs dialog. It is independent of EXPERIMENTAL_THEMING.
|
||||
#define EXPERIMENTAL_THEME_PREFS
|
||||
//#define EXPERIMENTAL_THEME_PREFS
|
||||
|
||||
//Next line enables Mic monitoring at times when it was previously off.
|
||||
//More work is needed as after recording or playing it results in an
|
||||
|
@ -234,7 +234,7 @@ wxString FileNames::ThemeImageDefsAsCee()
|
||||
|
||||
wxString FileNames::ThemeCacheAsCee( )
|
||||
{
|
||||
return wxFileName( ThemeDir(), wxT("ThemeAsCeeCode.h") ).GetFullPath();
|
||||
return wxFileName( ThemeDir(), wxT("DarkThemeAsCeeCode.h") ).GetFullPath();
|
||||
}
|
||||
|
||||
wxString FileNames::ThemeComponent(const wxString &Str)
|
||||
|
@ -230,9 +230,7 @@ audio CDs]].") + wxT("</p>")
|
||||
{
|
||||
// *URL* will be replaced by whatever URL we are looking for.
|
||||
return WrapText(_("The Manual does not appear to be installed. \
|
||||
Please [[*URL*|view the Manual online]] or \
|
||||
[[http://manual.audacityteam.org/man/unzipping_the_manual.html| \
|
||||
download the Manual]].<br><br>\
|
||||
Please [[*URL*|view the Manual online]].<br><br>\
|
||||
To always view the Manual online, change \"Location of Manual\" in \
|
||||
Interface Preferences to \"From Internet\".")
|
||||
);
|
||||
|
@ -1091,7 +1091,7 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
c->SetDefaultFlags(AlwaysEnabledFlag, AlwaysEnabledFlag);
|
||||
|
||||
c->AddItem(wxT("QuickHelp"), _("&Quick Help"), FN(OnQuickHelp));
|
||||
c->AddItem(wxT("Manual"), _("&Manual"), FN(OnManual));
|
||||
c->AddItem(wxT("Audacity Manual"), _("&Manual"), FN(OnManual));
|
||||
|
||||
c->AddSeparator();
|
||||
|
||||
@ -1124,7 +1124,7 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
c->AddSeparator();
|
||||
#endif
|
||||
|
||||
c->AddItem(wxT("Updates"), _("&Check for Updates..."), FN(OnCheckForUpdates));
|
||||
//c->AddItem(wxT("Updates"), _("&Check for Updates..."), FN(OnCheckForUpdates));
|
||||
c->AddItem(wxT("About"), _("&About DarkAudacity..."), FN(OnAbout));
|
||||
|
||||
c->EndMenu();
|
||||
|
@ -515,7 +515,7 @@ int SourceOutputStream::OpenFile(const wxString & Filename)
|
||||
bOk = File.Open( Filename, wxFile::write );
|
||||
if( bOk )
|
||||
{
|
||||
File.Write( wxT("// ThemeAsCeeCode.h\r\n") );
|
||||
File.Write( wxT("// DarkThemeAsCeeCode.h\r\n") );
|
||||
File.Write( wxT("//\r\n") );
|
||||
File.Write( wxT("// This file was Auto-Generated.\r\n") );
|
||||
File.Write( wxT("// It is included by Theme.cpp.\r\n") );
|
||||
|
@ -119,8 +119,6 @@ void Grabber::DrawGrabber( wxDC & dc )
|
||||
r.SetPosition( wxPoint(0,0) );
|
||||
int y, left, right, top, bottom;
|
||||
|
||||
#ifndef EXPERIMENTAL_THEMING
|
||||
|
||||
AColor::Medium(&dc, mOver );
|
||||
dc.DrawRectangle(r);
|
||||
|
||||
@ -128,13 +126,6 @@ void Grabber::DrawGrabber( wxDC & dc )
|
||||
if( mAsSpacer )
|
||||
r.width -= 1;
|
||||
|
||||
#else
|
||||
// Paint the background
|
||||
AColor::Medium(&dc, mOver );
|
||||
dc.DrawRectangle(r);
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef __WXMAC__
|
||||
|
||||
// Add a box
|
||||
|
Loading…
x
Reference in New Issue
Block a user