From 1d963ce0c67f9a6d02b1d65f895127c54821513b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 9 Oct 2008 19:17:04 +0000 Subject: [PATCH] Add Resources to task properties dialog svn path=/trunk/boinc/; revision=16177 --- clientgui/DlgItemProperties.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clientgui/DlgItemProperties.cpp b/clientgui/DlgItemProperties.cpp index 0c71881ca7..8215f85503 100755 --- a/clientgui/DlgItemProperties.cpp +++ b/clientgui/DlgItemProperties.cpp @@ -151,6 +151,9 @@ void CDlgItemProperties::renderInfos(RESULT* result) { this->addProperty(_("State"), FormatStatus(result)); dt.Set((time_t)result->report_deadline); this->addProperty(_("Report deadline"), dt.Format()); + if (result->resources.size()) { + addProperty(_("Resources"), wxString(result->resources.c_str(), wxConvUTF8)); + } if (result->active_task) { this->addProperty(_("Checkpoint CPU time"), FormatTime(result->checkpoint_cpu_time)); this->addProperty(_("Current CPU time"), FormatTime(result->current_cpu_time));