mirror of https://github.com/BOINC/boinc.git
MGR: Fix bug which showed Snooze task bar icon when it shouldn't.
svn path=/trunk/boinc/; revision=14224
This commit is contained in:
parent
4cc5144f98
commit
db772ab82a
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue