Remove the annoyance known as Tip of the Day. Right now it's completely inaccessible, but might return in a different incarnation when we get out of strings freeze.

Originally committed to SVN as r2831.
This commit is contained in:
Niels Martin Hansen 2009-04-18 15:29:13 +00:00
parent 58ec137621
commit b842a3ea76
3 changed files with 1 additions and 11 deletions

View File

@ -112,7 +112,6 @@ DialogOptions::DialogOptions(wxWindow *parent)
wxFlexGridSizer *genSizer4 = new wxFlexGridSizer(2,2,5,5);
AddCheckBox(generalPage,genSizer4,_("Show Splash Screen"),_T("Show splash"));
AddCheckBox(generalPage,genSizer4,_("Show Tip of the Day"),_T("Tips enabled"));
#ifdef __WXMSW__
AddCheckBox(generalPage,genSizer4,_("Auto Check for Updates"),_T("Auto check for updates"));
#endif

View File

@ -147,12 +147,7 @@ FrameMain::FrameMain (wxArrayString args)
}
else
#endif
{
#if !_DEBUG
// Show tip of the day
TipOfTheDay::Show(this);
#endif
}
wxSafeYield();
// Set autosave timer

View File

@ -89,11 +89,7 @@ void OptionsManager::LoadDefaults(bool onlyDefaults,bool doOverride) {
SetModificationType(MOD_AUTOMATIC);
// Broken on OS X during startup only.
#ifdef __APPLE__
SetBool(_T("Tips enabled"),false);
#else
SetBool(_T("Tips enabled"),true);
#endif
SetBool(_T("Show splash"),true);
SetBool(_T("Local config"),false);
SetInt(_T("Undo levels"),8);