*** empty log message ***

svn path=/trunk/boinc/; revision=11282
This commit is contained in:
Rom Walton 2006-10-13 17:02:28 +00:00
parent 19dab47ca2
commit 4eacc27765
5 changed files with 19 additions and 0 deletions

View File

@ -11099,3 +11099,12 @@ Rom 12 Oct 2006
clientgui/
AdvancedFrame.cpp
Rom 13 Oct 2006
- If we have received the authenticator via a setup cookie then run the
wizard in a completely automated fashion. Only stop if there was an
error.
clientgui/
BOINCBaseWizard.cpp, .h
CompletionPage.cpp
WizardAttachProject.cpp

View File

@ -46,6 +46,7 @@ CBOINCBaseWizard::CBOINCBaseWizard() :
IsAccountManagerWizard = false;
IsAccountManagerUpdateWizard = false;
IsAccountManagerRemoveWizard = false;
close_when_completed = false;
}
CBOINCBaseWizard::CBOINCBaseWizard(wxWindow *parent, int id, const wxString& title, const wxBitmap& bitmap, const wxPoint& pos, long style) :
@ -55,6 +56,7 @@ CBOINCBaseWizard::CBOINCBaseWizard(wxWindow *parent, int id, const wxString& tit
IsAccountManagerWizard = false;
IsAccountManagerUpdateWizard = false;
IsAccountManagerRemoveWizard = false;
close_when_completed = false;
}
/*!

View File

@ -82,6 +82,7 @@ public:
ACCOUNT_OUT account_out;
bool account_created_successfully;
bool attached_to_project_successfully;
bool close_when_completed;
wxString project_name;
wxString project_url;
wxString project_authenticator;

View File

@ -328,6 +328,12 @@ void CCompletionPage::OnPageChanged( wxWizardExEvent& event ) {
}
Fit();
// Is this supposed to be completely automated?
// If so, then go ahead and close the wizard down now.
if (pWAP->close_when_completed) {
pWAP->SimulateNextButton();
}
}
/*!

View File

@ -284,6 +284,7 @@ bool CWizardAttachProject::Run( wxString& WXUNUSED(strName), wxString& strURL, b
if (DetectSetupAuthenticator(strURL.mbc_str(), szAuthenticator, &dwSize)) {
m_bCredentialsDetected = true;
close_when_completed = true;
m_AccountKeyPage->m_strAccountKey = szAuthenticator;
}
}