mirror of https://github.com/BOINC/boinc.git
MGR: Align the sync with account manager functionality with the attach to account manager functionality with regards to account manager name location. Currently to print random stack stuff on the completion page.
This commit is contained in:
parent
95d12b76e7
commit
baff4f554b
|
@ -230,7 +230,7 @@ void CCompletionPage::OnPageChanged( wxWizardExEvent& event ) {
|
||||||
if (pSkinAdvanced->IsBranded()) {
|
if (pSkinAdvanced->IsBranded()) {
|
||||||
strTitle.Printf(
|
strTitle.Printf(
|
||||||
_("Update from %s completed."),
|
_("Update from %s completed."),
|
||||||
pWAP->project_config.name.c_str()
|
pWAP->m_strProjectName.c_str()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
strTitle = _("Update completed.");
|
strTitle = _("Update completed.");
|
||||||
|
|
|
@ -402,6 +402,7 @@ bool CWizardAttach::SyncToAccountManager() {
|
||||||
pDoc->rpc.acct_mgr_info(ami);
|
pDoc->rpc.acct_mgr_info(ami);
|
||||||
|
|
||||||
if (ami.acct_mgr_url.size()) {
|
if (ami.acct_mgr_url.size()) {
|
||||||
|
m_strProjectName = wxString(ami.acct_mgr_name.c_str(), wxConvUTF8);
|
||||||
m_AccountManagerInfoPage->SetProjectURL(
|
m_AccountManagerInfoPage->SetProjectURL(
|
||||||
wxString(ami.acct_mgr_url.c_str(), wxConvUTF8)
|
wxString(ami.acct_mgr_url.c_str(), wxConvUTF8)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue