mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12206
This commit is contained in:
parent
5bf406aaf2
commit
67e863b46a
|
@ -2296,3 +2296,9 @@ Rom 9 Mar 2007
|
|||
WizardAccountManager.cpp
|
||||
WizardAttachProject.cpp
|
||||
wizardex.cpp, .h
|
||||
|
||||
Rom 9 Mar 2007
|
||||
- MGR: Fix a segfault on Linux.
|
||||
|
||||
clientgui/
|
||||
ProjectInfoPage.cpp, .h
|
||||
|
|
|
@ -287,14 +287,14 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
|||
//
|
||||
pDoc->rpc.get_project_list(pl);
|
||||
for (i=0; i<pl.projects.size(); i++) {
|
||||
m_pProjectSelectionCtrl->Append(ConstructProjectTitle(i));
|
||||
m_pProjectSelectionCtrl->Append(wxString(pl.projects[i]->name.c_str(), wxConvUTF8));
|
||||
}
|
||||
m_pProjectSelectionCtrl->Append(_("Other"));
|
||||
|
||||
|
||||
Fit();
|
||||
m_pProjectSelectionCtrl->SetValue(
|
||||
ConstructProjectTitle(0)
|
||||
ConstructProjectTitle(wxString(pl.projects[0]->name.c_str(), wxConvUTF8))
|
||||
);
|
||||
m_pProjectSelectionDescriptionStaticCtrl->SetLabel(
|
||||
wxString(pl.projects[0]->description.c_str(), wxConvUTF8)
|
||||
|
@ -356,17 +356,3 @@ void CProjectInfoPage::OnCancel( wxWizardExEvent& event ) {
|
|||
PROCESS_CANCELEVENT(event);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* Construct what the string should look like for a project in the
|
||||
* drop down combo box.
|
||||
*/
|
||||
|
||||
wxString CProjectInfoPage::ConstructProjectTitle( int iIndex ) {
|
||||
wxString strReturnValue;
|
||||
|
||||
strReturnValue = wxString(pl.projects[iIndex]->name.c_str(), wxConvUTF8);
|
||||
|
||||
return strReturnValue;
|
||||
}
|
||||
|
||||
|
|
|
@ -82,9 +82,6 @@ public:
|
|||
/// Should we show tooltips?
|
||||
static bool ShowToolTips();
|
||||
|
||||
/// Construct project title
|
||||
wxString ConstructProjectTitle( int iIndex );
|
||||
|
||||
////@begin CProjectInfoPage member variables
|
||||
wxStaticText* m_pTitleStaticCtrl;
|
||||
wxStaticText* m_pDescriptionStaticCtrl;
|
||||
|
|
Loading…
Reference in New Issue