mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11282
This commit is contained in:
parent
19dab47ca2
commit
4eacc27765
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue