diff --git a/checkin_notes b/checkin_notes index d4b6cf439d..9921d4ef11 100644 --- a/checkin_notes +++ b/checkin_notes @@ -11070,3 +11070,8 @@ David 15 Nov 2007 html/user/ forum_index.php team_forum.php + +Charlie 16 Nov 2007 + MGR: Fix bug which showed Snooze task bar icon when it shouldn't. + clientgui/ + BOINCTaskBar.cpp diff --git a/clientgui/BOINCTaskBar.cpp b/clientgui/BOINCTaskBar.cpp index 03bf01692b..f81ac4a694 100644 --- a/clientgui/BOINCTaskBar.cpp +++ b/clientgui/BOINCTaskBar.cpp @@ -146,7 +146,7 @@ void CTaskBarIcon::OnRefresh(wxTimerEvent& WXUNUSED(event)) { if (!pDoc->IsConnected()) { SetIcon(m_iconTaskBarDisconnected, wxEmptyString); } else { - if (status.task_suspend_reason && !(status.task_suspend_reason & SUSPEND_REASON_CPU_USAGE_LIMIT)) { + if (RUN_MODE_NEVER == status.task_mode) { SetIcon(m_iconTaskBarSnooze, wxEmptyString); } else { SetIcon(m_iconTaskBarNormal, wxEmptyString);