- manager: don't show slot number in simple view task list

svn path=/trunk/boinc/; revision=24396
This commit is contained in:
David Anderson 2011-10-14 02:24:02 +00:00
parent 1f635bef26
commit d2d6a49287
3 changed files with 9 additions and 14 deletions

View File

@ -7208,3 +7208,9 @@ Rom 13 Oct 2011
clientgui/gtk/
taskbarex.cpp
David 13 Oct 2011
- manager: don't show slot number in simple view task list
clientgui/
sg_TaskPanel.cpp,h

View File

@ -558,26 +558,14 @@ void CSimpleTaskPanel::GetApplicationAndProjectNames(RESULT* result, wxString* a
);
}
#if SELECTBYRESULTNAME
appName->Printf(
wxT("%d. %s%s %d.%02d %s"),
state_result->slot+1,
wxT("%s%s %d.%02d %s"),
state_result->project->anonymous_platform?_("Local: "):wxT(""),
strAppBuffer.c_str(),
state_result->avp->version_num / 100,
state_result->avp->version_num % 100,
strClassBuffer.c_str()
);
#else
appName->Printf(wxT("%d. %s%s %d.%02d %s"),
state_result->slot+1,
state_result->project->anonymous_platform?_("Local: "):wxT(""),
strAppBuffer.c_str(),
state_result->avp->version_num / 100,
state_result->avp->version_num % 100,
strClassBuffer.c_str()
);
#endif
}
if (projName != NULL) {

View File

@ -18,7 +18,8 @@
#ifndef __sg_TaskPanel__
#define __sg_TaskPanel__
// Comment???
//
#define SELECTBYRESULTNAME 0
#include "sg_PanelBase.h"