From 9e26e3dac9c28d5f7f2f06fef9f4b0e06fed0a62 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 21 Oct 2011 17:28:56 +0000 Subject: [PATCH] - MGR: Make sure the dot is red if the project has been suspended for the given task. clientgui/ sg_TaskPanel.cpp svn path=/trunk/boinc/; revision=24451 --- checkin_notes | 2 ++ clientgui/sg_TaskPanel.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index c85766cb46..4730ed47e5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7624,6 +7624,8 @@ Rom 21 Oct 2011 radius. - MGR: Fix project name font in the tasks area, normal size. Increase it's weight to BOLD. + - MGR: Make sure the dot is red if the project has been suspended for + the given task. clientgui/ sg_PanelBase.cpp diff --git a/clientgui/sg_TaskPanel.cpp b/clientgui/sg_TaskPanel.cpp index 8b2c45f773..584dc14316 100755 --- a/clientgui/sg_TaskPanel.cpp +++ b/clientgui/sg_TaskPanel.cpp @@ -778,7 +778,7 @@ void CSimpleTaskPanel::UpdateTaskSelectionList(bool reskin) { for(j = 0; j < count; ++j) { selData = (TaskSelectionData*)m_TaskSelectionCtrl->GetClientData(j); ctrlResult = selData->result; - if (Suspended() || (ctrlResult->suspended_via_gui)) { + if (Suspended() || ctrlResult->suspended_via_gui || ctrlResult->project_suspended_via_gui) { newColor = redDot; } else if (isRunning(ctrlResult)) { newColor = greenDot;